home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 15 / BBS in a box XV-2.iso / Files II / Prog / U-Z / VideoToolbox 4.95.sit / VideoToolbox / Demos / TimeVideo.c < prev    next >
MacBinary  |  1995-04-18  |  41.4 KB  |  [TEXT/MPCC]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
66% dexvert Compact Compressed (Unix) (archive/compact) ext Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, Tue Apr 18 23:24:44 1995, modified Tue Apr 18 23:24:44 1995, creator 'MPCC', type ASCII, 41040 bytes "TimeVideo.c" , at 0xa0d0 1130 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[MPCC]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0b 54 69 6d 65 56 69 | 64 65 6f 2e 63 00 00 00 |..TimeVi|deo.c...|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 50 43 | 43 00 00 00 00 00 00 00 |.TEXTMPC|C.......|
|00000050| 00 00 00 00 00 a0 50 00 | 00 04 6a ab ba 32 fc ab |......P.|..j..2..|
|00000060| ba 32 fc 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.2......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 1f 05 00 00 |........|........|
|00000080| 2f 2a 0d 54 69 6d 65 56 | 69 64 65 6f 2e 63 0d 43 |/*.TimeV|ideo.c.C|
|00000090| 6f 70 79 72 69 67 68 74 | 20 a9 20 44 65 6e 69 73 |opyright| . Denis|
|000000a0| 20 47 2e 20 50 65 6c 6c | 69 2c 20 31 39 39 32 2c | G. Pell|i, 1992,|
|000000b0| 20 31 39 39 33 2c 20 31 | 39 39 34 2c 20 31 39 39 | 1993, 1|994, 199|
|000000c0| 35 0d 0d 54 69 6d 65 56 | 69 64 65 6f 20 64 6f 65 |5..TimeV|ideo doe|
|000000d0| 73 20 61 20 74 68 6f 72 | 6f 75 67 68 20 74 65 73 |s a thor|ough tes|
|000000e0| 74 20 6f 66 20 74 68 65 | 20 74 69 6d 69 6e 67 20 |t of the| timing |
|000000f0| 61 6e 64 20 73 79 6e 63 | 68 72 6f 6e 69 7a 61 74 |and sync|hronizat|
|00000100| 69 6f 6e 20 6f 66 20 65 | 61 63 68 20 76 69 64 65 |ion of e|ach vide|
|00000110| 6f 0d 73 63 72 65 65 6e | 2c 20 61 73 20 77 65 6c |o.screen|, as wel|
|00000120| 6c 20 61 73 20 74 68 65 | 20 69 6e 74 65 67 72 69 |l as the| integri|
|00000130| 74 79 20 6f 66 20 74 68 | 65 20 63 6c 75 74 20 68 |ty of th|e clut h|
|00000140| 61 72 64 77 61 72 65 20 | 61 6e 64 20 73 6f 66 74 |ardware |and soft|
|00000150| 77 61 72 65 2c 20 61 6e | 64 20 73 61 76 65 73 0d |ware, an|d saves.|
|00000160| 74 68 65 20 72 65 73 75 | 6c 74 73 20 69 6e 20 61 |the resu|lts in a|
|00000170| 20 73 65 6c 66 2d 65 78 | 70 6c 61 6e 61 74 6f 72 | self-ex|planator|
|00000180| 79 20 74 65 78 74 20 66 | 69 6c 65 2c 20 d2 54 69 |y text f|ile, .Ti|
|00000190| 6d 65 56 69 64 65 6f 20 | 72 65 73 75 6c 74 73 d3 |meVideo |results.|
|000001a0| 2e 20 54 69 6d 65 56 69 | 64 65 6f 0d 72 75 6e 73 |. TimeVi|deo.runs|
|000001b0| 20 6f 6e 20 61 6c 6c 20 | 4d 61 63 73 2c 20 72 65 | on all |Macs, re|
|000001c0| 71 75 69 72 69 6e 67 20 | 6f 6e 6c 79 20 53 79 73 |quiring |only Sys|
|000001d0| 74 65 6d 20 36 2e 30 35 | 20 6f 72 20 62 65 74 74 |tem 6.05| or bett|
|000001e0| 65 72 2e 20 41 20 64 69 | 73 63 75 73 73 69 6f 6e |er. A di|scussion|
|000001f0| 0d 6f 66 20 6d 6f 76 69 | 65 73 2c 20 6c 6f 6f 6b |.of movi|es, look|
|00000200| 75 70 20 74 61 62 6c 65 | 20 61 6e 69 6d 61 74 69 |up table| animati|
|00000210| 6f 6e 2c 20 61 6e 64 20 | 73 79 6e 63 68 72 6f 6e |on, and |synchron|
|00000220| 69 7a 61 74 69 6f 6e 20 | 61 70 70 65 61 72 73 20 |ization |appears |
|00000230| 69 6e 20 74 68 65 0d 56 | 69 64 65 6f 54 6f 6f 6c |in the.V|ideoTool|
|00000240| 62 6f 78 20 d2 56 69 64 | 65 6f 20 73 79 6e 63 68 |box .Vid|eo synch|
|00000250| d3 20 66 69 6c 65 2e 20 | 54 68 65 20 6d 61 6e 79 |. file. |The many|
|00000260| 20 76 69 64 65 6f 20 64 | 72 69 76 65 72 20 62 75 | video d|river bu|
|00000270| 67 73 20 75 6e 63 6f 76 | 65 72 65 64 20 62 79 0d |gs uncov|ered by.|
|00000280| 54 69 6d 65 56 69 64 65 | 6f 20 61 6e 64 20 69 74 |TimeVide|o and it|
|00000290| 73 20 70 72 65 64 65 63 | 65 73 73 6f 72 73 20 61 |s predec|essors a|
|000002a0| 72 65 20 72 65 70 6f 72 | 74 65 64 20 69 6e 20 74 |re repor|ted in t|
|000002b0| 68 61 74 20 66 69 6c 65 | 2e 20 28 46 6f 72 20 65 |hat file|. (For e|
|000002c0| 78 61 6d 70 6c 65 2c 20 | 76 65 72 73 69 6f 6e 20 |xample, |version |
|000002d0| 33 20 6f 66 20 74 68 65 | 0d 54 72 75 65 56 69 73 |3 of the|.TrueVis|
|000002e0| 69 6f 6e 20 4e 75 56 69 | 73 74 61 20 64 72 69 76 |ion NuVi|sta driv|
|000002f0| 65 72 20 61 73 73 75 6d | 65 73 20 7a 65 72 6f 20 |er assum|es zero |
|00000300| 73 74 61 72 74 20 69 6e | 20 31 36 2d 20 61 6e 64 |start in| 16- and|
|00000310| 20 33 32 2d 62 69 74 20 | 64 65 70 74 68 20 6d 6f | 32-bit |depth mo|
|00000320| 64 65 73 2e 29 20 50 6c | 65 61 73 65 0d 61 64 64 |des.) Pl|ease.add|
|00000330| 20 79 6f 75 72 20 72 65 | 73 75 6c 74 73 20 62 79 | your re|sults by|
|00000340| 20 65 6d 61 69 6c 69 6e | 67 20 79 6f 75 72 20 d2 | emailin|g your .|
|00000350| 54 69 6d 65 56 69 64 65 | 6f 20 72 65 73 75 6c 74 |TimeVide|o result|
|00000360| 73 d3 20 74 6f 20 64 65 | 6e 69 73 40 78 70 2e 70 |s. to de|nis@xp.p|
|00000370| 73 79 63 68 2e 6e 79 75 | 2e 65 64 75 2e 0d 0d 44 |sych.nyu|.edu...D|
|00000380| 65 73 70 69 74 65 20 41 | 70 70 6c 65 d5 73 20 72 |espite A|pple.s r|
|00000390| 75 6c 65 73 20 74 68 61 | 74 20 72 65 71 75 69 72 |ules tha|t requir|
|000003a0| 65 20 69 74 2c 20 61 20 | 66 65 77 20 76 69 64 65 |e it, a |few vide|
|000003b0| 6f 20 64 72 69 76 65 72 | 73 20 64 6f 6e d5 74 20 |o driver|s don.t |
|000003c0| 61 6c 6c 6f 77 20 79 6f | 75 20 74 6f 0d 72 65 61 |allow yo|u to.rea|
|000003d0| 64 20 74 68 65 20 63 6c | 75 74 20 28 69 2e 65 2e |d the cl|ut (i.e.|
|000003e0| 20 75 73 65 20 63 73 63 | 47 65 74 45 6e 74 72 69 | use csc|GetEntri|
|000003f0| 65 73 29 2c 20 6f 72 20 | 63 72 61 73 68 20 69 66 |es), or |crash if|
|00000400| 20 79 6f 75 20 61 74 74 | 65 6d 70 74 20 69 74 2e | you att|empt it.|
|00000410| 20 47 44 47 65 74 45 6e | 74 72 69 65 73 0d 28 69 | GDGetEn|tries.(i|
|00000420| 6e 20 47 44 56 69 64 65 | 6f 2e 63 29 20 63 68 65 |n GDVide|o.c) che|
|00000430| 63 6b 73 20 61 67 61 69 | 6e 73 74 20 61 20 6c 69 |cks agai|nst a li|
|00000440| 73 74 20 6f 66 20 6b 6e | 6f 77 6e 20 6f 66 66 65 |st of kn|own offe|
|00000450| 6e 64 65 72 73 20 61 6e | 64 20 72 65 74 75 72 6e |nders an|d return|
|00000460| 73 20 61 20 73 74 61 74 | 75 73 45 72 72 0d 69 66 |s a stat|usErr.if|
|00000470| 20 74 68 65 20 63 73 63 | 47 65 74 45 6e 74 72 69 | the csc|GetEntri|
|00000480| 65 73 20 63 61 6c 6c 20 | 69 73 20 6e 6f 74 20 75 |es call |is not u|
|00000490| 73 61 62 6c 65 2e 20 49 | 66 20 77 65 20 63 61 6e |sable. I|f we can|
|000004a0| d5 74 20 75 73 65 20 63 | 73 63 47 65 74 45 6e 74 |.t use c|scGetEnt|
|000004b0| 72 69 65 73 20 74 68 65 | 6e 20 77 65 20 66 61 6c |ries the|n we fal|
|000004c0| 6c 20 62 61 63 6b 20 74 | 6f 20 61 0d 76 69 73 75 |l back t|o a.visu|
|000004d0| 61 6c 20 74 65 73 74 20 | 6f 66 20 74 68 65 20 63 |al test |of the c|
|000004e0| 6c 75 74 2c 20 63 6f 6d | 70 61 72 69 6e 67 20 61 |lut, com|paring a|
|000004f0| 20 70 61 72 74 69 63 75 | 6c 61 72 20 77 61 79 20 | particu|lar way |
|00000500| 6f 66 20 6c 6f 61 64 69 | 6e 67 20 74 68 65 20 63 |of loadi|ng the c|
|00000510| 6c 75 74 20 61 67 61 69 | 6e 73 74 0d 74 68 65 20 |lut agai|nst.the |
|00000520| 73 74 61 6e 64 61 72 64 | 20 77 61 79 20 6f 66 20 |standard| way of |
|00000530| 6c 6f 61 64 69 6e 67 20 | 74 68 65 20 63 6c 75 74 |loading |the clut|
|00000540| 2e 20 41 6e 79 20 76 69 | 73 69 62 6c 65 20 63 68 |. Any vi|sible ch|
|00000550| 61 6e 67 65 20 62 65 74 | 77 65 65 6e 20 74 68 65 |ange bet|ween the|
|00000560| 73 65 20 74 77 6f 0d 63 | 6f 6e 64 69 74 69 6f 6e |se two.c|ondition|
|00000570| 73 20 73 75 67 67 65 73 | 74 73 20 61 6e 20 65 72 |s sugges|ts an er|
|00000580| 72 6f 72 20 69 6e 20 74 | 68 65 20 6e 6f 6e 2d 73 |ror in t|he non-s|
|00000590| 74 61 6e 64 61 72 64 20 | 77 61 79 20 6f 66 20 6c |tandard |way of l|
|000005a0| 6f 61 64 69 6e 67 20 74 | 68 65 20 63 6c 75 74 2e |oading t|he clut.|
|000005b0| 0d 0d 09 53 61 76 65 41 | 6e 64 52 65 73 74 6f 72 |...SaveA|ndRestor|
|000005c0| 65 44 65 76 69 63 65 28 | 64 65 76 69 63 65 29 3b |eDevice(|device);|
|000005d0| 0d 45 61 63 68 20 74 69 | 6d 65 20 79 6f 75 20 63 |.Each ti|me you c|
|000005e0| 61 6c 6c 20 53 61 76 65 | 41 6e 64 52 65 73 74 6f |all Save|AndResto|
|000005f0| 72 65 44 65 76 69 63 65 | 20 77 69 74 68 20 61 20 |reDevice| with a |
|00000600| 64 65 76 69 63 65 20 64 | 69 66 66 65 72 65 6e 74 |device d|ifferent|
|00000610| 20 66 72 6f 6d 20 74 68 | 65 20 6c 61 73 74 20 69 | from th|e last i|
|00000620| 74 0d 72 65 73 74 6f 72 | 65 73 20 74 68 65 20 66 |t.restor|es the f|
|00000630| 6f 72 6d 65 72 20 64 65 | 76 69 63 65 20 74 6f 20 |ormer de|vice to |
|00000640| 69 74 73 20 6c 61 73 74 | 20 73 74 61 74 65 2e 20 |its last| state. |
|00000650| 41 20 4e 55 4c 4c 20 64 | 65 76 69 63 65 20 63 6f |A NULL d|evice co|
|00000660| 75 6e 74 73 20 61 73 20 | 64 69 66 66 65 72 65 6e |unts as |differen|
|00000670| 74 2c 0d 69 6e 20 74 68 | 61 74 20 69 74 20 70 72 |t,.in th|at it pr|
|00000680| 6f 76 6f 6b 65 73 20 72 | 65 73 74 6f 72 61 74 69 |ovokes r|estorati|
|00000690| 6f 6e 20 6f 66 20 74 68 | 65 20 70 72 65 76 69 6f |on of th|e previo|
|000006a0| 75 73 20 64 65 76 69 63 | 65 2e 20 54 68 65 20 69 |us devic|e. The i|
|000006b0| 6e 69 74 69 61 6c 20 73 | 74 61 74 65 20 6f 66 20 |nitial s|tate of |
|000006c0| 74 68 69 73 0d 72 6f 75 | 74 69 6e 65 20 69 73 20 |this.rou|tine is |
|000006d0| 61 73 20 74 68 6f 75 67 | 68 20 79 6f 75 20 68 61 |as thoug|h you ha|
|000006e0| 64 20 6a 75 73 74 20 63 | 61 6c 6c 65 64 20 69 74 |d just c|alled it|
|000006f0| 20 77 69 74 68 20 74 68 | 65 20 4e 55 4c 4c 20 64 | with th|e NULL d|
|00000700| 65 76 69 63 65 2e 0d 0d | 42 55 47 53 3a 0d 56 65 |evice...|BUGS:.Ve|
|00000710| 72 73 69 6f 6e 20 31 2e | 30 20 68 75 6e 67 20 75 |rsion 1.|0 hung u|
|00000720| 70 20 6f 6e 20 61 20 50 | 6f 77 65 72 42 6f 6f 6b |p on a P|owerBook|
|00000730| 20 31 37 30 20 77 69 74 | 68 20 61 6e 20 45 6e 76 | 170 wit|h an Env|
|00000740| 69 73 69 6f 20 76 69 64 | 65 6f 20 61 64 61 70 74 |isio vid|eo adapt|
|00000750| 65 72 2e 20 49 20 64 69 | 64 6e d5 74 20 0d 68 61 |er. I di|dn.t .ha|
|00000760| 76 65 20 61 20 63 68 61 | 6e 63 65 20 74 6f 20 66 |ve a cha|nce to f|
|00000770| 69 67 75 72 65 20 6f 75 | 74 20 77 68 79 2e 20 49 |igure ou|t why. I|
|00000780| 74 20 77 6f 72 6b 73 20 | 66 69 6e 65 20 6f 6e 20 |t works |fine on |
|00000790| 6d 79 20 6f 72 64 69 6e | 61 72 79 20 50 6f 77 65 |my ordin|ary Powe|
|000007a0| 72 42 6f 6f 6b 20 31 37 | 30 2e 0d 0d 48 49 53 54 |rBook 17|0...HIST|
|000007b0| 4f 52 59 3a 0d 38 2f 32 | 33 2f 39 32 09 64 67 70 |ORY:.8/2|3/92.dgp|
|000007c0| 09 77 72 6f 74 65 20 69 | 74 2c 20 62 61 73 65 64 |.wrote i|t, based|
|000007d0| 20 6f 6e 20 6d 79 20 54 | 69 6d 65 43 50 55 2e 63 | on my T|imeCPU.c|
|000007e0| 0d 38 2f 32 36 2f 39 32 | 09 64 67 70 20 70 72 69 |.8/26/92|.dgp pri|
|000007f0| 6e 74 20 74 68 65 20 64 | 72 69 76 65 72 20 76 65 |nt the d|river ve|
|00000800| 72 73 69 6f 6e 20 6f 6e | 6c 79 20 69 66 20 69 74 |rsion on|ly if it|
|00000810| 27 73 20 6e 6f 6e 7a 65 | 72 6f 2e 0d 09 09 09 61 |'s nonze|ro.....a|
|00000820| 64 64 65 64 20 73 75 6d | 6d 61 72 79 20 61 74 20 |dded sum|mary at |
|00000830| 65 6e 64 20 6f 66 20 70 | 72 69 6e 74 6f 75 74 2e |end of p|rintout.|
|00000840| 0d 39 2f 39 2f 39 32 09 | 64 67 70 09 63 68 61 6e |.9/9/92.|dgp.chan|
|00000850| 67 65 64 20 70 72 69 6e | 74 6f 75 74 20 6f 66 20 |ged prin|tout of |
|00000860| 73 79 73 74 65 6d 20 76 | 62 6c 20 72 61 74 65 20 |system v|bl rate |
|00000870| 66 72 6f 6d 20 25 2e 31 | 66 20 74 6f 20 25 2e 32 |from %.1|f to %.2|
|00000880| 66 0d 09 09 09 41 64 64 | 65 64 20 6d 6f 76 69 65 |f....Add|ed movie|
|00000890| 20 72 61 74 65 20 74 6f | 20 6d 65 61 73 75 72 65 | rate to| measure|
|000008a0| 6d 65 6e 74 73 20 61 6e | 64 20 70 72 69 6e 74 6f |ments an|d printo|
|000008b0| 75 74 2e 0d 39 2f 31 35 | 2f 39 32 09 64 67 70 09 |ut..9/15|/92.dgp.|
|000008c0| 6d 61 64 65 20 63 6f 6d | 70 61 74 69 62 6c 65 20 |made com|patible |
|000008d0| 77 69 74 68 20 53 79 73 | 74 65 6d 20 36 2e 30 34 |with Sys|tem 6.04|
|000008e0| 2e 20 41 64 64 65 64 20 | 68 65 61 64 65 72 20 74 |. Added |header t|
|000008f0| 6f 20 72 65 73 75 6c 74 | 73 20 66 69 6c 65 2e 0d |o result|s file..|
|00000900| 39 2f 31 37 2f 39 32 09 | 64 67 70 09 41 64 64 65 |9/17/92.|dgp.Adde|
|00000910| 64 20 51 55 49 43 4b 4c | 59 20 73 77 69 74 63 68 |d QUICKL|Y switch|
|00000920| 2c 20 74 6f 20 73 65 6c | 65 63 74 20 43 6f 70 79 |, to sel|ect Copy|
|00000930| 42 69 74 73 20 6f 72 20 | 43 6f 70 79 42 69 74 73 |Bits or |CopyBits|
|00000940| 51 75 69 63 6b 6c 79 2e | 0d 31 30 2f 35 2f 39 32 |Quickly.|.10/5/92|
|00000950| 09 64 67 70 09 63 6f 73 | 6d 65 74 69 63 20 63 68 |.dgp.cos|metic ch|
|00000960| 61 6e 67 65 73 0d 31 30 | 2f 36 2f 39 32 09 64 67 |anges.10|/6/92.dg|
|00000970| 70 09 72 65 70 6f 72 74 | 20 70 72 6f 67 72 61 6d |p.report| program|
|00000980| 20 76 65 72 73 69 6f 6e | 2e 20 55 73 65 20 66 72 | version|. Use fr|
|00000990| 61 6d 65 73 2f 63 6c 75 | 74 20 75 70 64 61 74 65 |ames/clu|t update|
|000009a0| 20 61 73 20 74 68 65 20 | 63 72 69 74 65 72 69 6f | as the |criterio|
|000009b0| 6e 20 66 6f 72 20 73 75 | 6d 6d 61 72 79 2e 0d 31 |n for su|mmary..1|
|000009c0| 30 2f 39 2f 39 32 09 64 | 67 70 09 46 69 78 65 64 |0/9/92.d|gp.Fixed|
|000009d0| 20 73 75 6d 6d 61 72 79 | 2e 20 54 6f 6f 20 73 6c | summary|. Too sl|
|000009e0| 6f 77 20 6d 65 61 6e 73 | 20 4d 4f 52 45 20 74 68 |ow means| MORE th|
|000009f0| 61 6e 20 6f 6e 65 20 66 | 72 61 6d 65 20 70 65 72 |an one f|rame per|
|00000a00| 20 63 6c 75 74 20 75 70 | 64 61 74 65 2e 0d 09 09 | clut up|date....|
|00000a10| 09 46 69 78 65 64 20 72 | 65 73 74 6f 72 61 74 69 |.Fixed r|estorati|
|00000a20| 6f 6e 20 6f 66 20 63 6c | 75 74 20 69 6e 20 64 69 |on of cl|ut in di|
|00000a30| 72 65 63 74 20 6d 6f 64 | 65 73 20 28 69 2e 65 2e |rect mod|es (i.e.|
|00000a40| 20 31 36 20 61 6e 64 20 | 33 32 20 62 69 74 20 6d | 16 and |32 bit m|
|00000a50| 6f 64 65 73 29 2e 0d 09 | 09 09 52 65 6e 61 6d 65 |odes)...|..Rename|
|00000a60| 64 20 74 6f 20 47 44 52 | 65 73 74 6f 72 65 44 65 |d to GDR|estoreDe|
|00000a70| 76 69 63 65 43 6c 75 74 | 20 61 6e 64 20 70 75 74 |viceClut| and put|
|00000a80| 20 69 74 20 69 6e 20 47 | 44 56 69 64 65 6f 2e 63 | it in G|DVideo.c|
|00000a90| 2e 0d 31 30 2f 31 33 2f | 39 32 20 64 67 70 20 54 |..10/13/|92 dgp T|
|00000aa0| 6f 6d 20 42 75 73 65 79 | 20 72 65 70 6f 72 74 65 |om Busey| reporte|
|00000ab0| 64 20 74 68 61 74 20 66 | 72 61 6d 65 73 20 77 65 |d that f|rames we|
|00000ac0| 72 65 20 67 6f 69 6e 67 | 20 75 6e 63 6f 75 6e 74 |re going| uncount|
|00000ad0| 65 64 0d 09 09 09 64 75 | 72 69 6e 67 20 74 68 65 |ed....du|ring the|
|00000ae0| 20 63 6c 75 74 20 74 69 | 6d 69 6e 67 2c 20 77 68 | clut ti|ming, wh|
|00000af0| 69 63 68 20 73 65 65 6d | 73 20 74 6f 20 62 65 20 |ich seem|s to be |
|00000b00| 61 20 70 72 6f 62 6c 65 | 6d 20 77 69 74 68 20 73 |a proble|m with s|
|00000b10| 6f 6d 65 20 76 69 64 65 | 6f 20 64 72 69 76 65 72 |ome vide|o driver|
|00000b20| 73 2e 0d 09 09 09 54 69 | 6d 65 56 69 64 65 6f 20 |s.....Ti|meVideo |
|00000b30| 6e 6f 77 20 72 65 70 6f | 72 74 73 20 61 20 66 72 |now repo|rts a fr|
|00000b40| 61 6d 65 20 63 6f 75 6e | 74 20 62 61 73 65 64 20 |ame coun|t based |
|00000b50| 73 6f 6c 65 6c 79 20 6f | 6e 20 74 69 6d 69 6e 67 |solely o|n timing|
|00000b60| 20 69 6e 20 73 65 63 73 | 20 61 6e 64 0d 09 09 09 | in secs| and....|
|00000b70| 74 68 65 20 73 65 70 61 | 72 61 74 65 6c 79 20 6d |the sepa|rately m|
|00000b80| 65 61 73 75 72 65 64 20 | 66 72 61 6d 65 20 72 61 |easured |frame ra|
|00000b90| 74 65 2c 20 77 68 69 63 | 68 20 73 65 65 6d 73 20 |te, whic|h seems |
|00000ba0| 74 6f 20 62 65 20 61 20 | 72 65 6c 69 61 62 6c 65 |to be a |reliable|
|00000bb0| 2e 0d 09 09 09 49 74 20 | 61 6c 73 6f 20 64 6f 75 |.....It |also dou|
|00000bc0| 62 6c 65 20 63 68 65 63 | 6b 73 20 74 68 65 20 74 |ble chec|ks the t|
|00000bd0| 69 6d 69 6e 67 20 69 6e | 20 73 65 63 73 20 76 73 |iming in| secs vs|
|00000be0| 20 66 72 61 6d 65 73 2c | 20 61 6e 64 20 69 66 0d | frames,| and if.|
|00000bf0| 09 09 09 69 74 20 66 69 | 6e 64 73 20 61 20 64 69 |...it fi|nds a di|
|00000c00| 73 63 72 65 70 61 6e 63 | 79 2c 20 70 72 69 6e 74 |screpanc|y, print|
|00000c10| 73 20 61 20 77 61 72 6e | 69 6e 67 20 74 6f 20 74 |s a warn|ing to t|
|00000c20| 68 65 20 73 63 72 65 65 | 6e 20 26 20 66 69 6c 65 |he scree|n & file|
|00000c30| 2e 20 0d 31 30 2f 32 30 | 2f 39 32 20 64 67 70 20 |. .10/20|/92 dgp |
|00000c40| 41 64 64 65 64 20 56 42 | 4c 2f 66 72 61 6d 65 20 |Added VB|L/frame |
|00000c50| 74 6f 20 73 75 6d 6d 61 | 72 79 2e 0d 31 32 2f 38 |to summa|ry..12/8|
|00000c60| 2f 39 32 09 64 67 70 20 | 4d 69 6e 6f 72 20 65 64 |/92.dgp |Minor ed|
|00000c70| 69 74 69 6e 67 20 6f 66 | 20 63 6f 6d 6d 65 6e 74 |iting of| comment|
|00000c80| 73 2e 0d 31 32 2f 39 2f | 39 32 09 64 67 70 09 31 |s..12/9/|92.dgp.1|
|00000c90| 2e 30 31 20 41 64 64 65 | 64 20 5f 61 74 65 78 69 |.01 Adde|d _atexi|
|00000ca0| 74 28 52 65 73 74 6f 72 | 65 43 6c 75 74 73 29 20 |t(Restor|eCluts) |
|00000cb0| 69 6e 20 63 61 73 65 20 | 75 73 65 72 20 71 75 69 |in case |user qui|
|00000cc0| 74 73 20 70 72 65 6d 61 | 74 75 72 65 6c 79 2e 0d |ts prema|turely..|
|00000cd0| 31 32 2f 31 31 2f 39 32 | 20 64 67 70 20 31 2e 30 |12/11/92| dgp 1.0|
|00000ce0| 32 20 47 44 52 65 73 74 | 6f 72 65 42 6c 61 63 6b |2 GDRest|oreBlack|
|00000cf0| 41 6e 64 57 68 69 74 65 | 20 61 6c 6c 6f 63 61 74 |AndWhite| allocat|
|00000d00| 65 73 20 73 74 61 63 6b | 20 73 70 61 63 65 20 66 |es stack| space f|
|00000d10| 6f 72 20 6c 69 6e 65 61 | 72 54 61 62 6c 65 0d 09 |or linea|rTable..|
|00000d20| 09 09 6f 6e 6c 79 20 69 | 66 20 77 65 20 6e 65 65 |..only i|f we nee|
|00000d30| 64 20 69 74 2e 0d 31 32 | 2f 33 30 2f 39 32 20 64 |d it..12|/30/92 d|
|00000d40| 67 70 20 31 2e 30 33 20 | 63 6f 73 6d 65 74 69 63 |gp 1.03 |cosmetic|
|00000d50| 20 63 68 61 6e 67 65 73 | 2e 0d 31 32 2f 33 30 2f | changes|..12/30/|
|00000d60| 39 32 20 64 67 70 20 31 | 2e 30 34 20 45 6e 68 61 |92 dgp 1|.04 Enha|
|00000d70| 6e 63 65 64 20 73 75 6d | 6d 61 72 79 20 74 6f 20 |nced sum|mary to |
|00000d80| 61 63 63 6f 75 6e 74 20 | 66 6f 72 20 4e 41 4e 20 |account |for NAN |
|00000d90| 77 68 65 6e 20 6e 6f 20 | 63 6c 75 74 20 61 63 63 |when no |clut acc|
|00000da0| 65 73 73 20 69 73 20 61 | 6c 6c 6f 77 65 64 2e 0d |ess is a|llowed..|
|00000db0| 31 32 2f 33 30 2f 39 32 | 20 64 67 70 20 31 2e 30 |12/30/92| dgp 1.0|
|00000dc0| 35 20 55 73 65 20 47 44 | 43 6c 75 74 53 69 7a 65 |5 Use GD|ClutSize|
|00000dd0| 28 29 2e 0d 31 2f 36 2f | 39 33 09 64 67 70 09 20 |()..1/6/|93.dgp. |
|00000de0| 31 2e 30 36 20 53 69 6d | 70 6c 69 66 69 65 64 20 |1.06 Sim|plified |
|00000df0| 47 44 52 65 73 74 6f 72 | 65 42 6c 61 63 6b 41 6e |GDRestor|eBlackAn|
|00000e00| 64 57 68 69 74 65 2c 20 | 65 6c 69 6d 69 6e 61 74 |dWhite, |eliminat|
|00000e10| 65 64 20 6c 69 6e 65 61 | 72 54 61 62 6c 65 2e 0d |ed linea|rTable..|
|00000e20| 31 2f 37 2f 39 33 09 64 | 67 70 20 20 31 2e 30 37 |1/7/93.d|gp 1.07|
|00000e30| 20 49 6e 63 6c 75 64 65 | 64 20 69 6e 20 56 69 64 | Include|d in Vid|
|00000e40| 65 6f 54 6f 6f 6c 62 6f | 78 2d 31 2d 39 33 2e 73 |eoToolbo|x-1-93.s|
|00000e50| 65 61 0d 31 2f 38 2f 39 | 33 09 64 67 70 09 20 31 |ea.1/8/9|3.dgp. 1|
|00000e60| 2e 30 38 20 41 64 64 65 | 64 20 49 6e 66 6f 2d 4d |.08 Adde|d Info-M|
|00000e70| 61 63 20 74 6f 20 72 65 | 70 6f 72 74 20 66 69 6c |ac to re|port fil|
|00000e80| 65 2e 0d 31 2f 31 31 2f | 39 33 09 64 67 70 09 20 |e..1/11/|93.dgp. |
|00000e90| 31 2e 30 39 20 49 6e 20 | 72 65 73 70 6f 6e 73 65 |1.09 In |response|
|00000ea0| 20 74 6f 20 62 75 67 20 | 72 65 70 6f 72 74 20 66 | to bug |report f|
|00000eb0| 72 6f 6d 20 6a 6f 6e 61 | 74 68 61 6e 20 62 72 65 |rom jona|than bre|
|00000ec0| 63 68 65 72 2c 20 61 64 | 64 65 64 20 73 75 70 70 |cher, ad|ded supp|
|00000ed0| 6f 72 74 0d 09 09 09 66 | 6f 72 20 63 6f 6d 70 75 |ort....f|or compu|
|00000ee0| 74 65 72 73 20 74 68 61 | 74 20 6c 61 63 6b 20 43 |ters tha|t lack C|
|00000ef0| 6f 6c 6f 72 20 51 75 69 | 63 6b 44 72 61 77 2e 0d |olor Qui|ckDraw..|
|00000f00| 31 2f 31 35 2f 39 33 09 | 64 67 70 09 31 2e 31 30 |1/15/93.|dgp.1.10|
|00000f10| 20 41 64 64 65 64 20 76 | 65 72 73 69 6f 6e 20 72 | Added v|ersion r|
|00000f20| 65 73 6f 75 72 63 65 2e | 0d 31 2f 31 38 2f 39 33 |esource.|.1/18/93|
|00000f30| 09 64 67 70 09 31 2e 31 | 31 20 55 70 64 61 74 65 |.dgp.1.1|1 Update|
|00000f40| 64 20 74 68 65 20 65 78 | 70 6c 61 6e 61 74 6f 72 |d the ex|planator|
|00000f50| 79 20 74 65 78 74 2e 0d | 31 2f 32 34 2f 39 33 20 |y text..|1/24/93 |
|00000f60| 64 67 70 09 31 2e 31 32 | 20 55 70 64 61 74 65 64 |dgp.1.12| Updated|
|00000f70| 20 74 68 65 20 65 78 70 | 6c 61 6e 61 74 6f 72 79 | the exp|lanatory|
|00000f80| 20 74 65 78 74 2e 0d 32 | 2f 36 2f 39 33 20 64 67 | text..2|/6/93 dg|
|00000f90| 70 09 31 2e 31 33 20 52 | 65 70 6f 72 74 20 52 4f |p.1.13 R|eport RO|
|00000fa0| 4d 20 76 65 72 73 69 6f | 6e 2e 0d 32 2f 31 35 2f |M versio|n..2/15/|
|00000fb0| 39 33 20 64 67 70 09 31 | 2e 31 34 20 52 65 70 6f |93 dgp.1|.14 Repo|
|00000fc0| 72 74 20 52 4f 4d 20 76 | 65 72 73 69 6f 6e 20 61 |rt ROM v|ersion a|
|00000fd0| 73 20 31 32 34 2b 36 2a | 32 35 36 2e 0d 32 2f 32 |s 124+6*|256..2/2|
|00000fe0| 32 2f 39 33 09 64 67 70 | 09 31 2e 31 35 20 52 65 |2/93.dgp|.1.15 Re|
|00000ff0| 63 6f 6d 70 69 6c 65 64 | 2e 0d 32 2f 32 37 2f 39 |compiled|..2/27/9|
|00001000| 33 09 64 67 70 09 31 2e | 31 36 20 52 65 63 6f 6d |3.dgp.1.|16 Recom|
|00001010| 70 69 6c 65 64 20 77 69 | 74 68 20 6e 65 77 20 49 |piled wi|th new I|
|00001020| 64 65 6e 74 69 66 79 2e | 63 2e 0d 33 2f 31 30 2f |dentify.|c..3/10/|
|00001030| 39 33 09 64 67 70 09 31 | 2e 31 37 20 43 68 6f 6f |93.dgp.1|.17 Choo|
|00001040| 73 65 20 61 20 76 61 6c | 69 64 20 6d 6f 64 65 20 |se a val|id mode |
|00001050| 66 6f 72 20 77 68 69 63 | 68 20 74 6f 20 70 72 69 |for whic|h to pri|
|00001060| 6e 74 20 74 68 65 20 66 | 72 61 6d 65 20 72 61 74 |nt the f|rame rat|
|00001070| 65 2e 0d 09 09 09 09 20 | 4d 6f 76 65 64 20 61 6c |e...... |Moved al|
|00001080| 6c 20 74 68 65 20 74 69 | 6d 69 6e 67 20 63 6f 64 |l the ti|ming cod|
|00001090| 65 20 69 6e 74 6f 20 47 | 44 49 6e 66 6f 2e 63 2c |e into G|DInfo.c,|
|000010a0| 20 73 6f 20 74 68 69 73 | 20 72 6f 75 74 69 6e 65 | so this| routine|
|000010b0| 20 6a 75 73 74 20 70 72 | 69 6e 74 73 2e 0d 33 2f | just pr|ints..3/|
|000010c0| 31 32 2f 39 33 09 64 67 | 70 09 09 52 65 6f 72 67 |12/93.dg|p..Reorg|
|000010d0| 61 6e 69 7a 65 64 20 74 | 68 65 20 70 72 69 6e 74 |anized t|he print|
|000010e0| 6f 75 74 20 61 6e 64 20 | 61 64 64 65 64 20 54 65 |out and |added Te|
|000010f0| 73 74 43 6c 75 74 73 27 | 73 20 63 61 70 61 62 69 |stCluts'|s capabi|
|00001100| 6c 69 74 69 65 73 2e 0d | 33 2f 31 33 2f 39 33 09 |lities..|3/13/93.|
|00001110| 64 67 70 09 09 41 64 64 | 65 64 20 68 69 67 68 2d |dgp..Add|ed high-|
|00001120| 70 72 69 6f 72 69 74 79 | 20 74 69 6d 69 6e 67 2e |priority| timing.|
|00001130| 0d 33 2f 31 36 2f 39 33 | 09 64 67 70 09 32 2e 30 |.3/16/93|.dgp.2.0|
|00001140| 20 41 64 64 65 64 20 76 | 69 73 75 61 6c 20 68 61 | Added v|isual ha|
|00001150| 73 68 20 69 6e 73 70 65 | 63 74 69 6f 6e 2e 0d 33 |sh inspe|ction..3|
|00001160| 2f 33 31 2f 39 33 09 64 | 67 70 09 32 2e 31 20 52 |/31/93.d|gp.2.1 R|
|00001170| 65 6c 65 61 73 65 20 76 | 65 72 73 69 6f 6e 2c 20 |elease v|ersion, |
|00001180| 63 6c 75 74 20 74 65 73 | 74 20 73 65 65 6d 73 20 |clut tes|t seems |
|00001190| 74 6f 20 77 6f 72 6b 2e | 0d 34 2f 35 2f 39 33 09 |to work.|.4/5/93.|
|000011a0| 64 67 70 09 32 2e 32 20 | 52 65 63 6f 67 6e 69 7a |dgp.2.2 |Recogniz|
|000011b0| 65 20 67 72 61 79 31 20 | 65 72 72 6f 72 2e 0d 34 |e gray1 |error..4|
|000011c0| 2f 36 2f 39 33 09 64 67 | 70 09 32 2e 33 20 52 65 |/6/93.dg|p.2.3 Re|
|000011d0| 6d 6f 76 65 20 61 73 73 | 75 6d 70 74 69 6f 6e 20 |move ass|umption |
|000011e0| 74 68 61 74 20 6d 6f 64 | 65 20 6e 75 6d 62 65 72 |that mod|e number|
|000011f0| 73 20 69 6d 70 6c 79 20 | 63 65 72 74 61 69 6e 20 |s imply |certain |
|00001200| 6e 75 6d 62 65 72 20 6f | 66 20 62 69 74 73 2e 0d |number o|f bits..|
|00001210| 34 2f 31 33 2f 39 33 09 | 64 67 70 09 32 2e 33 2e |4/13/93.|dgp.2.3.|
|00001220| 31 20 4f 6e 6c 79 20 73 | 65 74 20 72 65 73 75 6c |1 Only s|et resul|
|00001230| 74 73 20 66 69 6c 65 20 | 74 79 70 65 20 77 68 65 |ts file |type whe|
|00001240| 6e 20 69 74 20 69 73 20 | 63 72 65 61 74 65 64 2c |n it is |created,|
|00001250| 20 6e 6f 74 20 77 68 65 | 6e 20 61 70 70 65 6e 64 | not whe|n append|
|00001260| 69 6e 67 2e 0d 34 2f 31 | 35 2f 39 33 09 64 67 70 |ing..4/1|5/93.dgp|
|00001270| 09 09 44 69 73 70 6c 61 | 79 20 54 65 73 74 69 6e |..Displa|y Testin|
|00001280| 67 20 77 69 6e 64 6f 77 | 20 77 69 74 68 20 67 72 |g window| with gr|
|00001290| 61 79 20 77 65 64 67 65 | 20 6f 6e 20 74 65 73 74 |ay wedge| on test|
|000012a0| 20 73 63 72 65 65 6e 2e | 0d 34 2f 31 36 2f 39 33 | screen.|.4/16/93|
|000012b0| 09 64 67 70 09 32 2e 34 | 62 20 52 65 73 74 6f 72 |.dgp.2.4|b Restor|
|000012c0| 65 20 63 6f 6d 70 61 74 | 69 62 69 6c 69 74 79 20 |e compat|ibility |
|000012d0| 77 69 74 68 20 31 2d 62 | 69 74 20 71 64 2e 0d 34 |with 1-b|it qd..4|
|000012e0| 2f 31 39 2f 39 33 09 64 | 67 70 09 32 2e 34 2e 31 |/19/93.d|gp.2.4.1|
|000012f0| 62 20 53 75 70 70 6f 72 | 74 20 6f 6c 64 20 4d 61 |b Suppor|t old Ma|
|00001300| 63 20 49 49 20 32 34 2d | 62 69 74 20 4e 75 42 75 |c II 24-|bit NuBu|
|00001310| 73 20 61 64 64 72 65 73 | 73 69 6e 67 2e 20 46 69 |s addres|sing. Fi|
|00001320| 78 65 64 20 74 77 6f 20 | 70 6c 61 63 65 73 0d 09 |xed two |places..|
|00001330| 09 09 09 77 68 65 72 65 | 20 49 20 75 73 65 64 20 |...where| I used |
|00001340| 67 61 72 62 61 67 65 20 | 69 6e 20 70 6c 61 63 65 |garbage |in place|
|00001350| 20 6f 66 20 61 20 6c 69 | 6e 65 61 72 20 63 6f 6c | of a li|near col|
|00001360| 6f 72 20 74 61 62 6c 65 | 20 77 68 65 6e 0d 09 09 |or table| when...|
|00001370| 09 09 67 64 54 79 70 65 | 3d 3d 64 69 72 65 63 74 |..gdType|==direct|
|00001380| 54 79 70 65 2e 20 55 73 | 65 20 6e 65 77 20 47 44 |Type. Us|e new GD|
|00001390| 4e 65 77 4c 69 6e 65 61 | 72 43 6f 6c 6f 72 54 61 |NewLinea|rColorTa|
|000013a0| 62 6c 65 2e 0d 34 2f 31 | 39 2f 39 33 09 64 67 70 |ble..4/1|9/93.dgp|
|000013b0| 09 32 2e 34 2e 32 62 20 | 45 73 74 69 6d 61 74 65 |.2.4.2b |Estimate|
|000013c0| 20 63 6f 6c 6f 72 20 74 | 72 61 6e 73 66 6f 72 6d | color t|ransform|
|000013d0| 61 74 69 6f 6e 20 6d 61 | 74 72 69 78 2e 0d 34 2f |ation ma|trix..4/|
|000013e0| 31 39 2f 39 33 09 64 67 | 70 09 32 2e 34 2e 33 62 |19/93.dg|p.2.4.3b|
|000013f0| 20 55 73 65 20 63 6f 6c | 6f 72 20 74 72 61 6e 73 | Use col|or trans|
|00001400| 66 6f 72 6d 61 74 69 6f | 6e 20 6d 61 74 72 69 78 |formatio|n matrix|
|00001410| 20 74 6f 20 61 73 73 65 | 73 73 20 67 72 61 79 20 | to asse|ss gray |
|00001420| 65 72 72 6f 72 2e 0d 34 | 2f 31 39 2f 39 33 09 64 |error..4|/19/93.d|
|00001430| 67 70 09 32 2e 34 2e 34 | 62 20 46 69 78 65 64 20 |gp.2.4.4|b Fixed |
|00001440| 52 65 63 74 54 6f 41 64 | 64 72 65 73 73 20 74 6f |RectToAd|dress to|
|00001450| 20 61 6c 77 61 79 73 20 | 72 65 74 75 72 6e 20 61 | always |return a|
|00001460| 20 33 32 2d 62 69 74 20 | 61 64 64 72 65 73 73 2c | 32-bit |address,|
|00001470| 0d 09 09 09 09 09 73 6f | 20 69 74 20 77 6f 6e 27 |......so| it won'|
|00001480| 74 20 63 72 61 73 68 20 | 75 6e 64 65 72 20 53 79 |t crash |under Sy|
|00001490| 73 74 65 6d 20 36 2e 0d | 34 2f 32 35 2f 39 33 09 |stem 6..|4/25/93.|
|000014a0| 64 67 70 09 32 2e 34 2e | 35 62 20 43 6f 72 72 65 |dgp.2.4.|5b Corre|
|000014b0| 63 74 20 66 6f 72 20 2d | 30 2e 35 20 62 69 61 73 |ct for -|0.5 bias|
|000014c0| 20 69 6e 20 65 73 74 69 | 6d 61 74 69 6e 67 20 72 | in esti|mating r|
|000014d0| 67 62 20 67 61 69 6e 73 | 20 69 6e 20 54 65 73 74 |gb gains| in Test|
|000014e0| 43 6c 75 74 2e 63 0d 34 | 2f 32 35 2f 39 33 09 64 |Clut.c.4|/25/93.d|
|000014f0| 67 70 09 32 2e 34 2e 36 | 62 20 54 65 73 74 20 62 |gp.2.4.6|b Test b|
|00001500| 6f 74 68 20 63 6f 6c 6f | 72 20 61 6e 64 20 67 72 |oth colo|r and gr|
|00001510| 61 79 20 6d 6f 64 65 73 | 3b 20 74 6f 6c 65 72 61 |ay modes|; tolera|
|00001520| 6e 63 65 3d 33 20 6c 73 | 62 2e 0d 34 2f 32 35 2f |nce=3 ls|b..4/25/|
|00001530| 39 33 09 64 67 70 09 32 | 2e 34 2e 37 62 20 57 6f |93.dgp.2|.4.7b Wo|
|00001540| 72 6b 65 64 20 61 72 6f | 75 6e 64 20 4e 65 77 20 |rked aro|und New |
|00001550| 50 61 6c 65 74 74 65 20 | 4d 61 6e 61 67 65 72 20 |Palette |Manager |
|00001560| 62 75 67 73 20 69 6e 20 | 6f 72 69 67 69 6e 61 6c |bugs in |original|
|00001570| 20 33 32 2d 62 69 74 20 | 51 44 2e 0d 34 2f 32 37 | 32-bit |QD..4/27|
|00001580| 2f 39 33 09 64 67 70 09 | 32 2e 34 2e 38 62 20 46 |/93.dgp.|2.4.8b F|
|00001590| 69 78 65 64 20 73 74 61 | 6c 65 2d 63 61 63 68 65 |ixed sta|le-cache|
|000015a0| 20 62 75 67 20 69 6e 20 | 53 65 74 50 69 78 65 6c | bug in |SetPixel|
|000015b0| 73 51 75 69 63 6b 6c 79 | 2e 20 43 6c 65 61 6e 65 |sQuickly|. Cleane|
|000015c0| 64 20 75 70 20 6d 6f 64 | 65 0d 09 09 09 09 09 69 |d up mod|e......i|
|000015d0| 6e 64 65 78 69 6e 67 2e | 0d 34 2f 32 38 2f 39 33 |ndexing.|.4/28/93|
|000015e0| 09 64 67 70 20 32 2e 34 | 2e 39 62 20 52 65 77 72 |.dgp 2.4|.9b Rewr|
|000015f0| 6f 74 65 20 63 6f 64 65 | 20 64 65 61 6c 69 6e 67 |ote code| dealing|
|00001600| 20 77 69 74 68 20 53 65 | 74 44 65 70 74 68 20 61 | with Se|tDepth a|
|00001610| 6e 64 20 48 61 73 44 65 | 70 74 68 2c 20 77 72 6f |nd HasDe|pth, wro|
|00001620| 74 65 20 47 44 48 61 73 | 4d 6f 64 65 28 29 2e 0d |te GDHas|Mode()..|
|00001630| 09 09 09 09 09 49 67 6e | 6f 72 65 20 22 69 73 47 |.....Ign|ore "isG|
|00001640| 72 61 79 22 20 66 6f 72 | 20 31 36 20 61 6e 64 20 |ray" for| 16 and |
|00001650| 33 32 2d 62 69 74 20 6d | 6f 64 65 73 2e 0d 35 2f |32-bit m|odes..5/|
|00001660| 31 31 2f 39 33 09 64 67 | 70 20 32 2e 34 2e 39 62 |11/93.dg|p 2.4.9b|
|00001670| 62 20 46 69 78 65 64 20 | 62 75 67 20 69 6e 20 47 |b Fixed |bug in G|
|00001680| 44 54 65 73 74 43 6c 75 | 74 48 61 73 68 20 69 6e |DTestClu|tHash in|
|00001690| 20 47 44 54 65 73 74 43 | 6c 75 74 2e 63 20 69 6e | GDTestC|lut.c in|
|000016a0| 20 72 65 73 70 6f 6e 73 | 65 20 74 6f 20 62 75 67 | respons|e to bug|
|000016b0| 20 0d 09 09 09 09 72 65 | 70 6f 72 74 20 62 79 20 | .....re|port by |
|000016c0| 4a 6f 6e 61 74 68 61 6e | 20 42 72 65 63 68 65 72 |Jonathan| Brecher|
|000016d0| 2e 0d 35 2f 31 37 2f 39 | 33 09 64 67 70 20 32 2e |..5/17/9|3.dgp 2.|
|000016e0| 34 2e 39 62 62 62 20 43 | 68 61 6e 67 65 64 20 53 |4.9bbb C|hanged S|
|000016f0| 65 74 45 6e 74 72 69 65 | 73 51 75 69 63 6b 6c 79 |etEntrie|sQuickly|
|00001700| 20 74 6f 20 72 65 73 70 | 65 63 74 20 74 68 65 20 | to resp|ect the |
|00001710| 63 6f 6c 6f 72 2f 67 72 | 61 79 20 6d 6f 64 65 20 |color/gr|ay mode |
|00001720| 6f 66 20 64 65 76 69 63 | 65 2e 0d 35 2f 31 38 2f |of devic|e..5/18/|
|00001730| 39 33 09 64 67 70 20 32 | 2e 34 2e 39 62 34 20 43 |93.dgp 2|.4.9b4 C|
|00001740| 68 65 63 6b 20 74 68 61 | 74 20 63 61 72 64 2d 3e |heck tha|t card->|
|00001750| 64 65 76 69 63 65 20 69 | 73 20 6e 6f 74 20 4e 55 |device i|s not NU|
|00001760| 4c 4c 2e 0d 35 2f 31 38 | 2f 39 33 09 64 67 70 20 |LL..5/18|/93.dgp |
|00001770| 32 2e 34 2e 39 62 35 20 | 53 75 70 70 72 65 73 73 |2.4.9b5 |Suppress|
|00001780| 20 70 72 69 6e 74 69 6e | 67 20 6f 66 20 69 64 65 | printin|g of ide|
|00001790| 6e 74 69 74 79 20 63 6f | 6c 6f 72 20 74 72 61 6e |ntity co|lor tran|
|000017a0| 73 66 6f 72 6d 61 74 69 | 6f 6e 2e 0d 35 2f 31 38 |sformati|on..5/18|
|000017b0| 2f 39 33 09 64 67 70 20 | 32 2e 34 2e 39 62 36 20 |/93.dgp |2.4.9b6 |
|000017c0| 4e 6f 74 65 20 74 68 61 | 74 20 31 36 20 61 6e 64 |Note tha|t 16 and|
|000017d0| 20 33 32 20 62 69 74 20 | 64 65 70 74 68 73 20 61 | 32 bit |depths a|
|000017e0| 72 65 20 61 6c 77 61 79 | 73 20 69 6e 20 63 6f 6c |re alway|s in col|
|000017f0| 6f 72 20 6d 6f 64 65 2e | 0d 35 2f 31 38 2f 39 33 |or mode.|.5/18/93|
|00001800| 09 64 67 70 20 32 2e 35 | 20 52 65 6c 65 61 73 65 |.dgp 2.5| Release|
|00001810| 20 76 65 72 73 69 6f 6e | 2e 0d 36 2f 32 2f 39 33 | version|..6/2/93|
|00001820| 09 64 67 70 20 32 2e 35 | 2e 31 20 55 70 64 61 74 |.dgp 2.5|.1 Updat|
|00001830| 65 64 20 74 65 78 74 20 | 72 65 66 65 72 65 6e 63 |ed text |referenc|
|00001840| 65 20 74 6f 20 69 6e 66 | 6f 2d 6d 61 63 2e 0d 37 |e to inf|o-mac..7|
|00001850| 2f 37 2f 39 33 09 64 67 | 70 20 32 2e 35 2e 32 20 |/7/93.dg|p 2.5.2 |
|00001860| 52 65 63 6f 6d 70 69 6c | 65 64 20 77 69 74 68 20 |Recompil|ed with |
|00001870| 6e 65 77 20 47 44 44 61 | 63 53 69 7a 65 2c 20 66 |new GDDa|cSize, f|
|00001880| 6f 72 20 63 6f 6d 70 61 | 74 69 62 69 6c 69 74 79 |or compa|tibility|
|00001890| 20 77 69 74 68 0d 09 09 | 09 09 52 61 64 69 75 73 | with...|..Radius|
|000018a0| 20 50 6f 77 65 72 56 69 | 65 77 2e 0d 31 2f 31 33 | PowerVi|ew..1/13|
|000018b0| 2f 39 34 09 64 67 70 20 | 32 2e 35 2e 33 20 55 70 |/94.dgp |2.5.3 Up|
|000018c0| 64 61 74 65 64 20 64 65 | 73 63 72 69 70 74 69 6f |dated de|scriptio|
|000018d0| 6e 20 6f 66 20 56 69 64 | 65 6f 54 6f 6f 6c 62 6f |n of Vid|eoToolbo|
|000018e0| 78 2e 0d 36 2f 37 2f 39 | 34 09 64 67 70 09 33 2e |x..6/7/9|4.dgp.3.|
|000018f0| 30 2e 30 20 4e 65 77 20 | 43 2d 62 61 73 65 64 20 |0.0 New |C-based |
|00001900| 76 65 72 73 69 6f 6e 20 | 6f 66 20 43 6f 70 79 42 |version |of CopyB|
|00001910| 69 74 73 51 75 69 63 6b | 6c 79 2e 20 46 69 78 65 |itsQuick|ly. Fixe|
|00001920| 64 20 76 65 72 73 69 6f | 6e 73 20 6f 66 20 43 6f |d versio|ns of Co|
|00001930| 70 79 42 69 74 73 51 75 | 69 63 6b 6c 79 2c 0d 09 |pyBitsQu|ickly,..|
|00001940| 09 09 09 53 65 74 50 69 | 78 65 6c 73 51 75 69 63 |...SetPi|xelsQuic|
|00001950| 6b 6c 79 2c 20 61 6e 64 | 20 53 65 74 45 6e 74 72 |kly, and| SetEntr|
|00001960| 69 65 73 51 75 69 63 6b | 6c 79 20 74 68 61 74 20 |iesQuick|ly that |
|00001970| 61 72 65 20 63 6f 6d 70 | 61 74 69 62 6c 65 20 77 |are comp|atible w|
|00001980| 69 74 68 20 64 69 72 74 | 79 20 52 4f 4d 73 2e 0d |ith dirt|y ROMs..|
|00001990| 36 2f 31 34 2f 39 34 09 | 64 67 70 09 33 2e 30 2e |6/14/94.|dgp.3.0.|
|000019a0| 31 20 43 6f 70 79 20 4d | 6f 6e 61 63 6f 2d 66 6f |1 Copy M|onaco-fo|
|000019b0| 6e 74 20 73 74 79 6c 65 | 20 72 65 73 6f 75 72 63 |nt style| resourc|
|000019c0| 65 20 66 72 6f 6d 20 61 | 70 70 6c 69 63 61 74 69 |e from a|pplicati|
|000019d0| 6f 6e 20 69 6e 74 6f 20 | 74 68 65 20 22 54 69 6d |on into |the "Tim|
|000019e0| 65 56 69 64 65 6f 20 72 | 65 70 6f 72 74 22 0d 09 |eVideo r|eport"..|
|000019f0| 09 09 09 64 6f 63 75 6d | 65 6e 74 2e 0d 36 2f 31 |...docum|ent..6/1|
|00001a00| 39 2f 39 34 09 64 67 70 | 09 33 2e 30 2e 32 20 56 |9/94.dgp|.3.0.2 V|
|00001a10| 61 72 69 6f 75 73 20 63 | 6f 73 6d 65 74 69 63 20 |arious c|osmetic |
|00001a20| 63 68 61 6e 67 65 73 2c | 20 72 65 63 6f 6d 70 69 |changes,| recompi|
|00001a30| 6c 65 20 77 69 74 68 20 | 6c 61 74 65 73 74 20 43 |le with |latest C|
|00001a40| 6f 70 79 42 69 74 73 51 | 75 69 63 6b 6c 79 20 61 |opyBitsQ|uickly a|
|00001a50| 6e 64 20 0d 09 09 09 09 | 53 65 74 45 6e 74 72 69 |nd .....|SetEntri|
|00001a60| 65 73 51 75 69 63 6b 6c | 79 2e 0d 37 2f 38 2f 39 |esQuickl|y..7/8/9|
|00001a70| 34 09 64 67 70 09 33 2e | 30 2e 33 20 52 65 63 6f |4.dgp.3.|0.3 Reco|
|00001a80| 6d 70 69 6c 65 64 20 77 | 69 74 68 20 6e 65 77 20 |mpiled w|ith new |
|00001a90| 54 48 49 4e 4b 20 43 20 | 37 2e 30 33 2e 0d 37 2f |THINK C |7.03..7/|
|00001aa0| 32 39 2f 39 34 20 64 67 | 70 20 45 6c 69 6d 69 6e |29/94 dg|p Elimin|
|00001ab0| 61 74 65 64 20 75 73 65 | 20 6f 66 20 22 23 73 22 |ated use| of "#s"|
|00001ac0| 20 70 72 69 6e 74 66 20 | 66 6f 72 6d 61 74 2c 20 | printf |format, |
|00001ad0| 73 69 6e 63 65 20 69 74 | 27 73 20 6e 6f 74 20 73 |since it|'s not s|
|00001ae0| 75 70 70 6f 72 74 65 64 | 20 62 79 0d 09 09 09 4d |upported| by....M|
|00001af0| 65 74 72 6f 77 65 72 6b | 73 20 43 6f 64 65 57 61 |etrowerk|s CodeWa|
|00001b00| 72 72 69 6f 72 20 43 2e | 0d 38 2f 31 2f 39 34 09 |rrior C.|.8/1/94.|
|00001b10| 64 67 70 20 33 2e 30 2e | 34 20 52 65 63 6f 6d 70 |dgp 3.0.|4 Recomp|
|00001b20| 69 6c 65 64 20 77 69 74 | 68 20 6c 61 74 65 73 74 |iled wit|h latest|
|00001b30| 20 73 6f 75 72 63 65 73 | 2e 0d 38 2f 31 34 2f 39 | sources|..8/14/9|
|00001b40| 34 09 64 67 70 20 41 64 | 64 65 64 20 77 6f 72 6b |4.dgp Ad|ded work|
|00001b50| 61 72 6f 75 6e 64 20 66 | 6f 72 20 5b 5d 5b 5d 5b |around f|or [][][|
|00001b60| 5d 5b 21 69 73 47 72 61 | 79 5d 20 62 75 67 20 69 |][!isGra|y] bug i|
|00001b70| 6e 20 4d 65 74 72 6f 77 | 65 72 6b 73 20 43 6f 64 |n Metrow|erks Cod|
|00001b80| 65 57 61 72 72 69 6f 72 | 20 63 6f 6d 70 69 6c 65 |eWarrior| compile|
|00001b90| 72 2e 0d 39 2f 35 2f 39 | 34 20 64 67 70 20 72 65 |r..9/5/9|4 dgp re|
|00001ba0| 6d 6f 76 65 64 20 61 73 | 73 75 6d 70 74 69 6f 6e |moved as|sumption|
|00001bb0| 20 69 6e 20 70 72 69 6e | 74 66 27 73 20 74 68 61 | in prin|tf's tha|
|00001bc0| 74 20 69 6e 74 3d 3d 73 | 68 6f 72 74 2e 0d 31 30 |t int==s|hort..10|
|00001bd0| 2f 31 32 2f 39 34 20 64 | 67 70 20 55 73 65 64 20 |/12/94 d|gp Used |
|00001be0| 4d 65 74 72 6f 77 65 72 | 6b 73 20 43 6f 64 65 57 |Metrower|ks CodeW|
|00001bf0| 61 72 72 69 6f 72 20 43 | 20 74 6f 20 70 72 6f 64 |arrior C| to prod|
|00001c00| 75 63 65 20 66 61 74 20 | 62 69 6e 61 72 79 2e 0d |uce fat |binary..|
|00001c10| 31 30 2f 32 30 2f 39 34 | 20 64 67 70 20 33 2e 35 |10/20/94| dgp 3.5|
|00001c20| 20 44 65 66 69 6e 65 64 | 20 42 4c 41 4e 4b 4c 49 | Defined| BLANKLI|
|00001c30| 4e 45 20 69 6e 20 47 44 | 49 6e 66 6f 2e 68 20 74 |NE in GD|Info.h t|
|00001c40| 6f 20 77 6f 72 6b 20 61 | 72 6f 75 6e 64 20 62 75 |o work a|round bu|
|00001c50| 67 20 69 6e 20 0d 09 09 | 4d 65 74 72 6f 77 65 72 |g in ...|Metrower|
|00001c60| 6b 73 20 43 57 34 2e 35 | 20 62 75 67 20 69 6e 20 |ks CW4.5| bug in |
|00001c70| 68 61 6e 64 6c 69 6e 67 | 20 6f 66 20 5c 72 2e 0d |handling| of \r..|
|00001c80| 31 31 2f 31 37 2f 39 34 | 09 64 67 70 09 33 2e 36 |11/17/94|.dgp.3.6|
|00001c90| 20 75 70 64 61 74 65 64 | 20 74 68 65 20 74 65 78 | updated| the tex|
|00001ca0| 74 20 64 65 73 63 72 69 | 62 69 6e 67 20 56 69 64 |t descri|bing Vid|
|00001cb0| 65 6f 54 6f 6f 6c 62 6f | 78 2e 0d 31 31 2f 31 37 |eoToolbo|x..11/17|
|00001cc0| 2f 39 34 09 64 67 70 20 | 33 2e 36 2e 31 20 61 64 |/94.dgp |3.6.1 ad|
|00001cd0| 64 65 64 20 65 78 70 6c | 61 6e 61 74 69 6f 6e 20 |ded expl|anation |
|00001ce0| 6f 66 20 d2 47 44 53 65 | 74 45 6e 74 72 69 65 73 |of .GDSe|tEntries|
|00001cf0| 20 2e 2e 2e 20 4e 41 4e | 20 2e 2e 2e 20 66 72 61 | ... NAN| ... fra|
|00001d00| 6d 65 73 d3 2e 0d 31 31 | 2f 33 30 2f 39 34 09 64 |mes...11|/30/94.d|
|00001d10| 67 70 20 55 73 65 20 44 | 69 73 70 6c 61 79 20 4d |gp Use D|isplay M|
|00001d20| 61 6e 61 67 65 72 20 74 | 6f 20 74 65 73 74 20 61 |anager t|o test a|
|00001d30| 6c 6c 20 64 69 73 70 6c | 61 79 20 6d 6f 64 65 73 |ll displ|ay modes|
|00001d40| 2e 20 55 6e 74 65 73 74 | 65 64 2e 0d 31 32 2f 32 |. Untest|ed..12/2|
|00001d50| 39 2f 39 34 20 64 67 70 | 20 33 2e 36 2e 32 20 57 |9/94 dgp| 3.6.2 W|
|00001d60| 72 69 74 65 41 6e 64 52 | 65 61 64 43 6c 75 74 20 |riteAndR|eadClut |
|00001d70| 6e 6f 77 20 77 61 69 74 | 73 20 66 6f 72 20 76 62 |now wait|s for vb|
|00001d80| 6c 20 62 65 66 6f 72 65 | 20 72 65 61 64 69 6e 67 |l before| reading|
|00001d90| 2e 0d 31 2f 37 2f 39 35 | 09 64 67 70 20 33 2e 36 |..1/7/95|.dgp 3.6|
|00001da0| 2e 33 20 47 6f 74 20 44 | 69 73 70 6c 61 79 20 4d |.3 Got D|isplay M|
|00001db0| 61 6e 61 67 65 72 20 63 | 61 6c 6c 73 20 74 6f 20 |anager c|alls to |
|00001dc0| 77 6f 72 6b 2e 0d 33 2f | 31 38 2f 39 34 20 64 67 |work..3/|18/94 dg|
|00001dd0| 70 20 33 2e 36 2e 34 20 | 52 65 63 6f 6d 70 69 6c |p 3.6.4 |Recompil|
|00001de0| 65 64 20 77 69 74 68 20 | 43 6f 64 65 57 61 72 72 |ed with |CodeWarr|
|00001df0| 69 6f 72 20 35 2e 35 2c | 20 77 68 69 63 68 20 73 |ior 5.5,| which s|
|00001e00| 75 70 70 6f 73 65 64 6c | 79 20 66 69 78 73 20 73 |upposedl|y fixs s|
|00001e10| 6f 6d 65 20 43 20 62 75 | 67 73 2e 0d 33 2f 32 32 |ome C bu|gs..3/22|
|00001e20| 2f 39 35 20 64 67 70 20 | 33 2e 36 2e 35 20 41 64 |/95 dgp |3.6.5 Ad|
|00001e30| 64 65 64 20 63 68 65 63 | 6b 20 66 6f 72 20 62 61 |ded chec|k for ba|
|00001e40| 64 20 44 6f 6d 65 20 64 | 72 69 76 65 72 2c 20 61 |d Dome d|river, a|
|00001e50| 6e 64 20 65 6e 68 61 6e | 63 65 64 20 64 65 74 65 |nd enhan|ced dete|
|00001e60| 63 74 69 6f 6e 20 6f 66 | 20 43 57 20 63 6f 6d 70 |ction of| CW comp|
|00001e70| 69 6c 65 72 20 76 65 72 | 73 69 6f 6e 2e 0d 34 2f |iler ver|sion..4/|
|00001e80| 31 2f 39 35 20 64 67 70 | 20 55 70 64 61 74 65 64 |1/95 dgp| Updated|
|00001e90| 20 6d 79 20 61 64 64 72 | 65 73 73 2e 20 41 64 64 | my addr|ess. Add|
|00001ea0| 65 64 20 61 64 76 69 63 | 65 20 61 62 6f 75 74 20 |ed advic|e about |
|00001eb0| 68 6f 77 20 74 6f 20 69 | 6e 74 65 72 70 72 65 74 |how to i|nterpret|
|00001ec0| 20 63 73 63 53 65 74 45 | 6e 74 72 69 65 73 2f 63 | cscSetE|ntries/c|
|00001ed0| 73 63 47 65 74 45 6e 74 | 72 69 65 73 20 0d 09 09 |scGetEnt|ries ...|
|00001ee0| 09 65 72 72 6f 72 73 2e | 0d 34 2f 37 2f 39 35 20 |.errors.|.4/7/95 |
|00001ef0| 64 67 70 20 33 2e 36 2e | 36 20 52 65 61 64 20 41 |dgp 3.6.|6 Read A|
|00001f00| 37 20 64 72 61 66 74 20 | 6f 66 20 22 44 65 73 69 |7 draft |of "Desi|
|00001f10| 67 6e 69 6e 67 20 43 61 | 72 64 73 20 26 20 44 72 |gning Ca|rds & Dr|
|00001f20| 69 76 65 72 73 20 66 6f | 72 20 50 6f 77 65 72 20 |ivers fo|r Power |
|00001f30| 4d 61 63 20 43 6f 6d 70 | 75 74 65 72 73 22 2c 20 |Mac Comp|uters", |
|00001f40| 61 6e 64 0d 09 09 09 61 | 64 64 65 64 20 73 75 70 |and....a|dded sup|
|00001f50| 70 6f 72 74 20 66 6f 72 | 20 6d 75 6c 74 69 70 6c |port for| multipl|
|00001f60| 65 20 72 65 73 6f 6c 75 | 74 69 6f 6e 73 20 6f 6e |e resolu|tions on|
|00001f70| 20 50 43 49 20 4d 61 63 | 73 2e 20 0d 34 2f 38 2f | PCI Mac|s. .4/8/|
|00001f80| 39 35 20 64 67 70 20 33 | 2e 37 2e 30 20 50 6f 6c |95 dgp 3|.7.0 Pol|
|00001f90| 69 73 68 65 64 20 74 68 | 65 20 65 78 70 6c 61 6e |ished th|e explan|
|00001fa0| 61 74 6f 72 79 20 74 65 | 78 74 20 74 68 61 74 20 |atory te|xt that |
|00001fb0| 61 70 70 65 61 72 73 20 | 61 74 20 74 68 65 20 62 |appears |at the b|
|00001fc0| 65 67 69 6e 6e 69 6e 67 | 20 6f 66 20 74 68 65 20 |eginning| of the |
|00001fd0| 72 65 73 75 6c 74 73 20 | 66 69 6c 65 2e 0d 09 09 |results |file....|
|00001fe0| 09 44 69 73 61 62 6c 65 | 64 20 57 41 49 54 5f 46 |.Disable|d WAIT_F|
|00001ff0| 4f 52 5f 56 42 4c 20 69 | 6e 20 57 72 69 74 65 41 |OR_VBL i|n WriteA|
|00002000| 6e 64 52 65 61 64 43 6c | 75 74 28 29 20 69 6e 20 |ndReadCl|ut() in |
|00002010| 47 44 54 65 73 74 43 6c | 75 74 2e 63 2e 0d 34 2f |GDTestCl|ut.c..4/|
|00002020| 31 38 2f 39 35 20 64 67 | 70 20 43 61 6c 6c 20 53 |18/95 dg|p Call S|
|00002030| 56 65 72 73 69 6f 6e 28 | 29 20 6f 6e 6c 79 20 69 |Version(|) only i|
|00002040| 66 20 5f 53 6c 6f 74 4d | 61 6e 61 67 65 72 20 74 |f _SlotM|anager t|
|00002050| 72 61 70 20 69 73 20 61 | 76 61 69 6c 61 62 6c 65 |rap is a|vailable|
|00002060| 2e 0d 2a 2f 0d 23 69 6e | 63 6c 75 64 65 20 22 56 |..*/.#in|clude "V|
|00002070| 69 64 65 6f 54 6f 6f 6c | 62 6f 78 2e 68 22 0d 23 |ideoTool|box.h".#|
|00002080| 69 6e 63 6c 75 64 65 20 | 3c 54 72 61 70 73 2e 68 |include |<Traps.h|
|00002090| 3e 0d 23 69 6e 63 6c 75 | 64 65 20 3c 6d 61 74 68 |>.#inclu|de <math|
|000020a0| 2e 68 3e 0d 23 69 6e 63 | 6c 75 64 65 20 3c 61 73 |.h>.#inc|lude <as|
|000020b0| 73 65 72 74 2e 68 3e 0d | 23 69 6e 63 6c 75 64 65 |sert.h>.|#include|
|000020c0| 20 3c 52 4f 4d 44 65 66 | 73 2e 68 3e 09 2f 2f 20 | <ROMDef|s.h>.// |
|000020d0| 63 61 74 44 69 73 70 6c | 61 79 2c 74 79 70 65 56 |catDispl|ay,typeV|
|000020e0| 69 64 65 6f 0d 23 69 6e | 63 6c 75 64 65 20 22 47 |ideo.#in|clude "G|
|000020f0| 44 49 6e 66 6f 2e 68 22 | 0d 76 6f 69 64 20 54 69 |DInfo.h"|.void Ti|
|00002100| 6d 65 56 69 64 65 6f 28 | 76 6f 69 64 29 3b 0d 76 |meVideo(|void);.v|
|00002110| 6f 69 64 20 50 72 69 6e | 74 56 69 64 65 6f 49 6e |oid Prin|tVideoIn|
|00002120| 66 6f 28 46 49 4c 45 20 | 2a 6f 5b 32 5d 2c 56 69 |fo(FILE |*o[2],Vi|
|00002130| 64 65 6f 49 6e 66 6f 20 | 2a 63 61 72 64 29 3b 0d |deoInfo |*card);.|
|00002140| 76 6f 69 64 20 52 65 70 | 6f 72 74 52 47 42 47 61 |void Rep|ortRGBGa|
|00002150| 69 6e 73 28 46 49 4c 45 | 20 2a 6f 5b 32 5d 2c 42 |ins(FILE| *o[2],B|
|00002160| 6f 6f 6c 65 61 6e 20 71 | 75 69 63 6b 6c 79 2c 42 |oolean q|uickly,B|
|00002170| 6f 6f 6c 65 61 6e 20 69 | 73 47 72 61 79 2c 56 69 |oolean i|sGray,Vi|
|00002180| 64 65 6f 49 6e 66 6f 20 | 2a 63 61 72 64 29 3b 0d |deoInfo |*card);.|
|00002190| 6c 6f 6e 67 20 47 44 43 | 6f 6c 6f 72 73 28 47 44 |long GDC|olors(GD|
|000021a0| 48 61 6e 64 6c 65 20 64 | 65 76 69 63 65 29 3b 0d |Handle d|evice);.|
|000021b0| 63 68 61 72 20 73 65 74 | 45 6e 74 72 69 65 73 53 |char set|EntriesS|
|000021c0| 74 72 69 6e 67 5b 5d 5b | 31 38 5d 3d 7b 22 63 73 |tring[][|18]={"cs|
|000021d0| 63 53 65 74 45 6e 74 72 | 69 65 73 22 2c 22 53 65 |cSetEntr|ies","Se|
|000021e0| 74 45 6e 74 72 69 65 73 | 51 75 69 63 6b 6c 79 22 |tEntries|Quickly"|
|000021f0| 7d 3b 0d 63 68 61 72 20 | 63 6f 6c 6f 72 47 72 61 |};.char |colorGra|
|00002200| 79 53 74 72 69 6e 67 5b | 5d 5b 36 5d 3d 7b 22 63 |yString[|][6]={"c|
|00002210| 6f 6c 6f 72 22 2c 22 67 | 72 61 79 22 7d 3b 0d 63 |olor","g|ray"};.c|
|00002220| 68 61 72 20 43 6f 6c 6f | 72 47 72 61 79 53 74 72 |har Colo|rGrayStr|
|00002230| 69 6e 67 5b 5d 5b 36 5d | 3d 7b 22 43 6f 6c 6f 72 |ing[][6]|={"Color|
|00002240| 22 2c 22 47 72 61 79 22 | 7d 3b 0d 23 69 66 20 55 |","Gray"|};.#if U|
|00002250| 4e 49 56 45 52 53 41 4c | 5f 48 45 41 44 45 52 53 |NIVERSAL|_HEADERS|
|00002260| 0d 09 23 69 6e 63 6c 75 | 64 65 20 3c 44 69 73 70 |..#inclu|de <Disp|
|00002270| 6c 61 79 73 2e 68 3e 0d | 23 65 6c 73 65 0d 09 65 |lays.h>.|#else..e|
|00002280| 6e 75 6d 7b 6b 44 4d 44 | 72 69 76 65 72 4e 6f 74 |num{kDMD|riverNot|
|00002290| 44 69 73 70 6c 61 79 4d | 67 72 41 77 61 72 65 45 |DisplayM|grAwareE|
|000022a0| 72 72 20 3d 20 2d 36 32 | 32 38 7d 3b 0d 09 65 78 |rr = -62|28};..ex|
|000022b0| 74 65 72 6e 20 70 61 73 | 63 61 6c 20 4f 53 45 72 |tern pas|cal OSEr|
|000022c0| 72 20 44 4d 53 65 74 44 | 69 73 70 6c 61 79 4d 6f |r DMSetD|isplayMo|
|000022d0| 64 65 28 47 44 48 61 6e | 64 6c 65 20 74 68 65 44 |de(GDHan|dle theD|
|000022e0| 65 76 69 63 65 2c 75 6e | 73 69 67 6e 65 64 20 6c |evice,un|signed l|
|000022f0| 6f 6e 67 20 6d 6f 64 65 | 0d 09 09 2c 75 6e 73 69 |ong mode|...,unsi|
|00002300| 67 6e 65 64 20 6c 6f 6e | 67 20 2a 64 65 70 74 68 |gned lon|g *depth|
|00002310| 4d 6f 64 65 2c 75 6e 73 | 69 67 6e 65 64 20 6c 6f |Mode,uns|igned lo|
|00002320| 6e 67 20 72 65 73 65 72 | 76 65 64 2c 48 61 6e 64 |ng reser|ved,Hand|
|00002330| 6c 65 20 64 69 73 70 6c | 61 79 53 74 61 74 65 29 |le displ|ayState)|
|00002340| 0d 09 20 09 3d 7b 30 78 | 33 30 33 43 2c 30 78 30 |.. .={0x|303C,0x0|
|00002350| 41 31 31 2c 30 78 41 42 | 45 42 7d 3b 0d 09 65 78 |A11,0xAB|EB};..ex|
|00002360| 74 65 72 6e 20 70 61 73 | 63 61 6c 20 4f 53 45 72 |tern pas|cal OSEr|
|00002370| 72 20 44 4d 43 68 65 63 | 6b 44 69 73 70 6c 61 79 |r DMChec|kDisplay|
|00002380| 4d 6f 64 65 28 47 44 48 | 61 6e 64 6c 65 20 74 68 |Mode(GDH|andle th|
|00002390| 65 44 65 76 69 63 65 2c | 75 6e 73 69 67 6e 65 64 |eDevice,|unsigned|
|000023a0| 20 6c 6f 6e 67 20 6d 6f | 64 65 0d 09 09 2c 75 6e | long mo|de...,un|
|000023b0| 73 69 67 6e 65 64 20 6c | 6f 6e 67 20 64 65 70 74 |signed l|ong dept|
|000023c0| 68 4d 6f 64 65 2c 75 6e | 73 69 67 6e 65 64 20 6c |hMode,un|signed l|
|000023d0| 6f 6e 67 20 2a 73 77 69 | 74 63 68 46 6c 61 67 73 |ong *swi|tchFlags|
|000023e0| 2c 75 6e 73 69 67 6e 65 | 64 20 6c 6f 6e 67 20 72 |,unsigne|d long r|
|000023f0| 65 73 65 72 76 65 64 0d | 09 09 2c 42 6f 6f 6c 65 |eserved.|..,Boole|
|00002400| 61 6e 20 2a 6d 6f 64 65 | 4f 6b 29 3d 7b 30 78 33 |an *mode|Ok)={0x3|
|00002410| 30 33 43 2c 30 78 30 43 | 31 32 2c 30 78 41 42 45 |03C,0x0C|12,0xABE|
|00002420| 42 7d 3b 0d 09 65 6e 75 | 6d 20 7b 0d 09 09 67 65 |B};..enu|m {...ge|
|00002430| 73 74 61 6c 74 44 69 73 | 70 6c 61 79 4d 67 72 41 |staltDis|playMgrA|
|00002440| 74 74 72 09 09 3d 20 27 | 64 70 6c 79 27 2c 09 2f |ttr..= '|dply',./|
|00002450| 2a 20 44 69 73 70 6c 61 | 79 20 4d 61 6e 61 67 65 |* Displa|y Manage|
|00002460| 72 20 61 74 74 72 69 62 | 75 74 65 73 20 2a 2f 0d |r attrib|utes */.|
|00002470| 09 09 67 65 73 74 61 6c | 74 44 69 73 70 6c 61 79 |..gestal|tDisplay|
|00002480| 4d 67 72 50 72 65 73 65 | 6e 74 09 3d 20 30 09 09 |MgrPrese|nt.= 0..|
|00002490| 09 2f 2a 20 54 72 75 65 | 20 69 66 20 44 69 73 70 |./* True| if Disp|
|000024a0| 6c 61 79 20 4d 67 72 20 | 69 73 20 70 72 65 73 65 |lay Mgr |is prese|
|000024b0| 6e 74 20 2a 2f 0d 09 7d | 3b 0d 23 65 6e 64 69 66 |nt */..}|;.#endif|
|000024c0| 0d 0d 2f 2a 20 0d 54 68 | 65 73 65 20 65 6e 75 6d |../* .Th|ese enum|
|000024d0| 20 64 65 66 69 6e 69 74 | 69 6f 6e 73 20 66 6f 72 | definit|ions for|
|000024e0| 20 75 73 65 20 77 69 74 | 68 20 74 68 65 20 63 73 | use wit|h the cs|
|000024f0| 63 47 65 74 4e 65 78 74 | 52 65 73 6f 6c 75 74 69 |cGetNext|Resoluti|
|00002500| 6f 6e 20 64 72 69 76 65 | 72 20 73 74 61 74 75 73 |on drive|r status|
|00002510| 20 63 61 6c 6c 20 0d 61 | 72 65 20 74 61 6b 65 6e | call .a|re taken|
|00002520| 20 66 72 6f 6d 20 74 68 | 65 20 41 37 20 64 72 61 | from th|e A7 dra|
|00002530| 66 74 20 28 46 65 62 20 | 31 30 2c 27 39 35 29 20 |ft (Feb |10,'95) |
|00002540| 6f 66 20 41 70 70 6c 65 | 27 73 20 44 65 73 69 67 |of Apple|'s Desig|
|00002550| 6e 69 6e 67 20 50 43 49 | 20 43 61 72 64 73 20 61 |ning PCI| Cards a|
|00002560| 6e 64 20 44 72 69 76 65 | 72 73 20 66 6f 72 0d 50 |nd Drive|rs for.P|
|00002570| 6f 77 65 72 20 4d 61 63 | 20 43 6f 6d 70 75 74 65 |ower Mac| Compute|
|00002580| 72 73 2e 20 55 6e 64 6f | 75 62 74 65 64 6c 79 20 |rs. Undo|ubtedly |
|00002590| 74 68 65 73 65 20 65 6e | 75 6d 20 64 65 66 69 6e |these en|um defin|
|000025a0| 69 74 69 6f 6e 73 20 77 | 69 6c 6c 20 61 70 70 65 |itions w|ill appe|
|000025b0| 61 72 20 69 6e 20 73 6f | 6d 65 20 66 75 74 75 72 |ar in so|me futur|
|000025c0| 65 20 0d 76 65 72 73 69 | 6f 6e 20 6f 66 20 56 69 |e .versi|on of Vi|
|000025d0| 64 65 6f 2e 68 2c 20 70 | 65 72 68 61 70 73 20 77 |deo.h, p|erhaps w|
|000025e0| 69 74 68 20 43 6f 64 65 | 57 61 72 72 69 6f 72 20 |ith Code|Warrior |
|000025f0| 36 2c 20 61 74 20 77 68 | 69 63 68 20 74 69 6d 65 |6, at wh|ich time|
|00002600| 20 74 68 65 79 20 63 61 | 6e 20 62 65 20 64 65 6c | they ca|n be del|
|00002610| 65 74 65 64 20 66 72 6f | 6d 20 68 65 72 65 2e 0d |eted fro|m here..|
|00002620| 2a 2f 0d 65 6e 75 6d 7b | 0d 09 6b 44 69 73 70 6c |*/.enum{|..kDispl|
|00002630| 61 79 4d 6f 64 65 49 44 | 43 75 72 72 65 6e 74 3d |ayModeID|Current=|
|00002640| 30 0d 09 2c 6b 44 69 73 | 70 6c 61 79 4d 6f 64 65 |0..,kDis|playMode|
|00002650| 49 44 49 6e 76 61 6c 69 | 64 3d 30 78 66 66 66 66 |IDInvali|d=0xffff|
|00002660| 66 66 66 66 0d 09 2c 6b | 44 69 73 70 6c 61 79 4d |ffff..,k|DisplayM|
|00002670| 6f 64 65 49 44 46 69 6e | 64 46 69 72 73 74 52 65 |odeIDFin|dFirstRe|
|00002680| 73 6f 6c 75 74 69 6f 6e | 3d 30 78 66 66 66 66 66 |solution|=0xfffff|
|00002690| 66 66 65 0d 09 2c 6b 44 | 69 73 70 6c 61 79 4d 6f |ffe..,kD|isplayMo|
|000026a0| 64 65 49 44 4e 6f 4d 6f | 72 65 52 65 73 6f 6c 75 |deIDNoMo|reResolu|
|000026b0| 74 69 6f 6e 73 3d 30 78 | 66 66 66 66 66 66 66 64 |tions=0x|fffffffd|
|000026c0| 0d 7d 3b 0d 0d 23 64 65 | 66 69 6e 65 20 56 45 52 |.};..#de|fine VER|
|000026d0| 53 49 4f 4e 20 22 33 2e | 37 2e 30 22 0d 0d 76 6f |SION "3.|7.0"..vo|
|000026e0| 69 64 20 53 61 76 65 41 | 6e 64 52 65 73 74 6f 72 |id SaveA|ndRestor|
|000026f0| 65 44 65 76 69 63 65 28 | 47 44 48 61 6e 64 6c 65 |eDevice(|GDHandle|
|00002700| 20 64 65 76 69 63 65 29 | 3b 0d 0d 76 6f 69 64 20 | device)|;..void |
|00002710| 6d 61 69 6e 28 76 6f 69 | 64 29 0d 7b 0d 09 53 74 |main(voi|d).{..St|
|00002720| 61 63 6b 47 72 6f 77 28 | 33 30 30 30 30 4c 2b 4d |ackGrow(|30000L+M|
|00002730| 41 58 5f 53 43 52 45 45 | 4e 53 2a 73 69 7a 65 6f |AX_SCREE|NS*sizeo|
|00002740| 66 28 56 69 64 65 6f 49 | 6e 66 6f 29 29 3b 0d 09 |f(VideoI|nfo));..|
|00002750| 52 65 71 75 69 72 65 28 | 67 65 73 74 61 6c 74 4f |Require(|gestaltO|
|00002760| 72 69 67 69 6e 61 6c 51 | 44 29 3b 0d 09 54 69 6d |riginalQ|D);..Tim|
|00002770| 65 56 69 64 65 6f 28 29 | 3b 0d 7d 0d 0d 76 6f 69 |eVideo()|;.}..voi|
|00002780| 64 20 54 69 6d 65 56 69 | 64 65 6f 28 76 6f 69 64 |d TimeVi|deo(void|
|00002790| 29 0d 7b 0d 09 6c 6f 6e | 67 20 73 79 73 74 65 6d |).{..lon|g system|
|000027a0| 3b 0d 09 73 74 61 74 69 | 63 20 75 6e 73 69 67 6e |;..stati|c unsign|
|000027b0| 65 64 20 6c 6f 6e 67 20 | 76 5b 32 35 36 5d 2c 63 |ed long |v[256],c|
|000027c0| 6f 6c 6f 72 4d 61 78 3b | 0d 09 46 49 4c 45 20 2a |olorMax;|..FILE *|
|000027d0| 6f 5b 32 5d 2c 2a 64 61 | 74 61 46 69 6c 65 3b 0d |o[2],*da|taFile;.|
|000027e0| 09 69 6e 74 20 6e 65 77 | 44 61 74 61 46 69 6c 65 |.int new|DataFile|
|000027f0| 3b 0d 09 75 6e 73 69 67 | 6e 65 64 20 6c 6f 6e 67 |;..unsig|ned long|
|00002800| 20 74 69 6d 65 3b 0d 09 | 53 74 72 32 35 35 20 74 | time;..|Str255 t|
|00002810| 6f 64 61 79 53 74 72 3b | 0d 09 69 6e 74 20 69 2c |odayStr;|..int i,|
|00002820| 6a 2c 64 2c 65 72 72 6f | 72 3b 0d 09 69 6e 74 20 |j,d,erro|r;..int |
|00002830| 63 61 72 64 73 2c 77 69 | 64 74 68 2c 68 65 69 67 |cards,wi|dth,heig|
|00002840| 68 74 3b 0d 09 69 6e 74 | 20 71 75 69 63 6b 6c 79 |ht;..int| quickly|
|00002850| 2c 69 73 47 72 61 79 2c | 64 6f 54 65 73 74 2c 6f |,isGray,|doTest,o|
|00002860| 6b 3b 0d 09 52 65 63 74 | 20 72 2c 73 63 72 65 65 |k;..Rect| r,scree|
|00002870| 6e 52 65 63 74 3b 0d 09 | 57 69 6e 64 6f 77 50 74 |nRect;..|WindowPt|
|00002880| 72 20 77 69 6e 64 6f 77 | 3b 0d 09 73 68 6f 72 74 |r window|;..short|
|00002890| 20 64 6f 56 69 73 75 61 | 6c 54 65 73 74 73 2c 66 | doVisua|lTests,f|
|000028a0| 6c 61 67 73 3b 0d 09 56 | 69 64 65 6f 49 6e 66 6f |lags;..V|ideoInfo|
|000028b0| 20 2a 63 61 72 64 3b 0d | 09 48 61 6e 64 6c 65 20 | *card;.|.Handle |
|000028c0| 72 73 72 63 3b 0d 09 69 | 6e 74 20 72 73 72 63 46 |rsrc;..i|nt rsrcF|
|000028d0| 69 6c 65 3b 0d 09 73 74 | 61 74 69 63 20 63 68 61 |ile;..st|atic cha|
|000028e0| 72 20 73 74 72 69 6e 67 | 5b 39 39 39 5d 2c 64 61 |r string|[999],da|
|000028f0| 74 61 66 69 6c 65 6e 61 | 6d 65 5b 5d 3d 22 54 69 |tafilena|me[]="Ti|
|00002900| 6d 65 56 69 64 65 6f 20 | 72 65 73 75 6c 74 73 22 |meVideo |results"|
|00002910| 3b 0d 09 6c 6f 6e 67 20 | 76 61 6c 75 65 3b 0d 09 |;..long |value;..|
|00002920| 42 6f 6f 6c 65 61 6e 20 | 64 69 73 70 6c 61 79 4d |Boolean |displayM|
|00002930| 67 72 4f 6b 2c 73 6c 6f | 74 4d 67 72 50 72 65 73 |grOk,slo|tMgrPres|
|00002940| 65 6e 74 2c 74 65 73 74 | 4d 75 6c 74 69 70 6c 65 |ent,test|Multiple|
|00002950| 52 65 73 6f 6c 75 74 69 | 6f 6e 73 3b 0d 09 53 70 |Resoluti|ons;..Sp|
|00002960| 42 6c 6f 63 6b 20 73 70 | 42 6c 6f 63 6b 3b 0d 09 |Block sp|Block;..|
|00002970| 0d 09 61 73 73 65 72 74 | 28 53 74 61 63 6b 53 70 |..assert|(StackSp|
|00002980| 61 63 65 28 29 3e 35 30 | 30 30 29 3b 0d 09 4d 61 |ace()>50|00);..Ma|
|00002990| 78 69 6d 69 7a 65 43 6f | 6e 73 6f 6c 65 48 65 69 |ximizeCo|nsoleHei|
|000029a0| 67 68 74 28 29 3b 0d 09 | 23 69 66 20 28 54 48 49 |ght();..|#if (THI|
|000029b0| 4e 4b 5f 43 20 7c 7c 20 | 54 48 49 4e 4b 5f 43 50 |NK_C || |THINK_CP|
|000029c0| 4c 55 53 29 0d 09 09 63 | 6f 6e 73 6f 6c 65 5f 6f |LUS)...c|onsole_o|
|000029d0| 70 74 69 6f 6e 73 2e 74 | 69 74 6c 65 3d 22 5c 70 |ptions.t|itle="\p|
|000029e0| 54 69 6d 65 56 69 64 65 | 6f 22 3b 0d 09 23 65 6e |TimeVide|o";..#en|
|000029f0| 64 69 66 0d 09 70 72 69 | 6e 74 66 28 22 5c 6e 22 |dif..pri|ntf("\n"|
|00002a00| 29 3b 09 2f 2f 20 61 73 | 6b 20 54 48 49 4e 4b 20 |);.// as|k THINK |
|00002a10| 43 20 74 6f 20 69 6e 69 | 74 69 61 6c 69 7a 65 20 |C to ini|tialize |
|00002a20| 71 75 69 63 6b 64 72 61 | 77 0d 09 47 65 74 44 61 |quickdra|w..GetDa|
|00002a30| 74 65 54 69 6d 65 28 26 | 74 69 6d 65 29 3b 0d 09 |teTime(&|time);..|
|00002a40| 73 72 61 6e 64 28 74 69 | 6d 65 29 3b 0d 09 73 72 |srand(ti|me);..sr|
|00002a50| 61 6e 64 55 28 74 69 6d | 65 29 3b 0d 09 73 70 72 |andU(tim|e);..spr|
|00002a60| 69 6e 74 66 28 73 74 72 | 69 6e 67 2c 22 57 65 6c |intf(str|ing,"Wel|
|00002a70| 63 6f 6d 65 20 74 6f 20 | 54 69 6d 65 56 69 64 65 |come to |TimeVide|
|00002a80| 6f 20 22 20 56 45 52 53 | 49 4f 4e 20 22 5c 6e 5c |o " VERS|ION "\n\|
|00002a90| 6e 22 0d 09 22 54 68 69 | 73 20 70 72 6f 67 72 61 |n".."Thi|s progra|
|00002aa0| 6d 20 77 69 6c 6c 20 74 | 68 6f 72 6f 75 67 68 6c |m will t|horoughl|
|00002ab0| 79 20 74 65 73 74 20 61 | 6c 6c 20 79 6f 75 72 20 |y test a|ll your |
|00002ac0| 76 69 64 65 6f 20 64 65 | 76 69 63 65 73 20 61 6e |video de|vices an|
|00002ad0| 64 20 73 61 76 65 20 74 | 68 65 20 22 0d 09 22 72 |d save t|he ".."r|
|00002ae0| 65 73 75 6c 74 73 20 69 | 6e 20 74 68 65 20 74 65 |esults i|n the te|
|00002af0| 78 74 20 66 69 6c 65 20 | d2 25 73 d3 2e 20 44 6f |xt file |.%s.. Do|
|00002b00| 6e d5 74 20 62 65 20 61 | 6c 61 72 6d 65 64 20 62 |n.t be a|larmed b|
|00002b10| 79 20 74 68 65 20 73 74 | 72 61 6e 67 65 20 22 0d |y the st|range ".|
|00002b20| 09 22 61 6e 74 69 63 73 | 20 6f 66 20 79 6f 75 72 |."antics| of your|
|00002b30| 20 73 63 72 65 65 6e 73 | 2e 20 45 76 65 72 79 74 | screens|. Everyt|
|00002b40| 68 69 6e 67 20 77 69 6c | 6c 20 73 6f 6f 6e 20 62 |hing wil|l soon b|
|00002b50| 65 20 62 61 63 6b 20 74 | 6f 20 6e 6f 72 6d 61 6c |e back t|o normal|
|00002b60| 2e 20 4a 75 73 74 20 73 | 69 74 20 62 61 63 6b 20 |. Just s|it back |
|00002b70| 22 0d 09 22 61 6e 64 20 | 65 6e 6a 6f 79 20 74 68 |".."and |enjoy th|
|00002b80| 65 20 73 68 6f 77 2e 22 | 2c 64 61 74 61 66 69 6c |e show."|,datafil|
|00002b90| 65 6e 61 6d 65 29 3b 0d | 09 73 70 72 69 6e 74 66 |ename);.|.sprintf|
|00002ba0| 28 73 74 72 69 6e 67 2c | 22 25 73 20 59 6f 75 20 |(string,|"%s You |
|00002bb0| 6d 61 79 20 71 75 69 74 | 20 61 74 20 61 6e 79 20 |may quit| at any |
|00002bc0| 74 69 6d 65 20 62 79 20 | 68 69 74 74 69 6e 67 20 |time by |hitting |
|00002bd0| 43 6f 6d 6d 61 6e 64 2d | 70 65 72 69 6f 64 2e 5c |Command-|period.\|
|00002be0| 6e 22 2c 73 74 72 69 6e | 67 29 3b 0d 09 70 72 69 |n",strin|g);..pri|
|00002bf0| 6e 74 66 28 42 72 65 61 | 6b 4c 69 6e 65 73 28 73 |ntf(Brea|kLines(s|
|00002c00| 74 72 69 6e 67 2c 37 38 | 29 29 3b 0d 09 69 66 28 |tring,78|));..if(|
|00002c10| 31 29 70 72 69 6e 74 66 | 28 42 72 65 61 6b 4c 69 |1)printf|(BreakLi|
|00002c20| 6e 65 73 28 22 5c 6e 22 | 0d 09 09 22 54 69 6d 65 |nes("\n"|..."Time|
|00002c30| 56 69 64 65 6f 20 74 69 | 6d 65 73 20 65 76 65 72 |Video ti|mes ever|
|00002c40| 79 74 68 69 6e 67 3a 20 | 74 68 65 20 76 69 64 65 |ything: |the vide|
|00002c50| 6f 20 66 72 61 6d 65 73 | 2c 20 69 6e 74 65 72 72 |o frames|, interr|
|00002c60| 75 70 74 73 2c 20 61 6e | 64 20 63 6c 75 74 73 2e |upts, an|d cluts.|
|00002c70| 20 41 6e 64 20 69 74 20 | 22 0d 09 09 22 64 65 74 | And it |"..."det|
|00002c80| 65 72 6d 69 6e 65 73 20 | 77 68 61 74 20 66 72 61 |ermines |what fra|
|00002c90| 63 74 69 6f 6e 20 6f 66 | 20 74 68 65 20 73 63 72 |ction of| the scr|
|00002ca0| 65 65 6e 20 79 6f 75 20 | 63 61 6e 20 66 69 6c 6c |een you |can fill|
|00002cb0| 20 77 69 74 68 20 61 20 | 72 65 61 6c 2d 74 69 6d | with a |real-tim|
|00002cc0| 65 20 6d 6f 76 69 65 20 | 73 68 6f 77 6e 20 22 0d |e movie |shown ".|
|00002cd0| 09 09 22 62 79 20 43 6f | 70 79 42 69 74 73 28 29 |.."by Co|pyBits()|
|00002ce0| 20 6f 72 20 43 6f 70 79 | 42 69 74 73 51 75 69 63 | or Copy|BitsQuic|
|00002cf0| 6b 6c 79 28 29 2e 20 54 | 68 65 6e 20 69 74 20 64 |kly(). T|hen it d|
|00002d00| 6f 65 73 20 77 72 69 74 | 65 2d 74 68 65 6e 2d 72 |oes writ|e-then-r|
|00002d10| 65 61 64 20 74 65 73 74 | 73 20 6f 66 20 74 68 65 |ead test|s of the|
|00002d20| 20 22 0d 09 09 22 63 6c | 75 74 2c 20 74 6f 20 6d | "..."cl|ut, to m|
|00002d30| 61 6b 65 20 73 75 72 65 | 20 74 68 65 20 76 69 64 |ake sure| the vid|
|00002d40| 65 6f 20 68 61 72 64 77 | 61 72 65 20 61 6e 64 20 |eo hardw|are and |
|00002d50| 73 6f 66 74 77 61 72 65 | 20 22 0d 09 09 22 61 72 |software| "..."ar|
|00002d60| 65 20 77 6f 72 6b 69 6e | 67 20 63 6f 72 72 65 63 |e workin|g correc|
|00002d70| 74 6c 79 2e 5c 6e 22 2c | 37 38 29 29 3b 0d 09 64 |tly.\n",|78));..d|
|00002d80| 6f 56 69 73 75 61 6c 54 | 65 73 74 73 3d 43 68 6f |oVisualT|ests=Cho|
|00002d90| 6f 73 65 28 31 2c 22 5c | 6e 57 6f 75 6c 64 20 79 |ose(1,"\|nWould y|
|00002da0| 6f 75 20 6c 69 6b 65 20 | 74 68 65 20 74 65 73 74 |ou like |the test|
|00002db0| 69 6e 67 20 74 6f 20 70 | 61 75 73 65 20 66 6f 72 |ing to p|ause for|
|00002dc0| 20 76 69 73 75 61 6c 20 | 69 6e 73 70 65 63 74 69 | visual |inspecti|
|00002dd0| 6f 6e 73 3f 5c 6e 22 2c | 6e 6f 59 65 73 2c 32 29 |ons?\n",|noYes,2)|
|00002de0| 3b 0d 09 76 61 6c 75 65 | 3d 30 3b 0d 09 47 65 73 |;..value|=0;..Ges|
|00002df0| 74 61 6c 74 28 67 65 73 | 74 61 6c 74 44 69 73 70 |talt(ges|taltDisp|
|00002e00| 6c 61 79 4d 67 72 41 74 | 74 72 2c 26 76 61 6c 75 |layMgrAt|tr,&valu|
|00002e10| 65 29 3b 0d 09 64 69 73 | 70 6c 61 79 4d 67 72 4f |e);..dis|playMgrO|
|00002e20| 6b 3d 76 61 6c 75 65 26 | 28 31 3c 3c 67 65 73 74 |k=value&|(1<<gest|
|00002e30| 61 6c 74 44 69 73 70 6c | 61 79 4d 67 72 50 72 65 |altDispl|ayMgrPre|
|00002e40| 73 65 6e 74 29 3b 0d 09 | 69 66 28 64 69 73 70 6c |sent);..|if(displ|
|00002e50| 61 79 4d 67 72 4f 6b 29 | 0d 09 09 74 65 73 74 4d |ayMgrOk)|...testM|
|00002e60| 75 6c 74 69 70 6c 65 52 | 65 73 6f 6c 75 74 69 6f |ultipleR|esolutio|
|00002e70| 6e 73 3d 43 68 6f 6f 73 | 65 28 30 2c 22 54 65 73 |ns=Choos|e(0,"Tes|
|00002e80| 74 20 6d 75 6c 74 69 70 | 6c 65 20 72 65 73 6f 6c |t multip|le resol|
|00002e90| 75 74 69 6f 6e 73 20 6f | 66 20 65 61 63 68 20 64 |utions o|f each d|
|00002ea0| 69 73 70 6c 61 79 3f 5c | 6e 22 2c 6e 6f 59 65 73 |isplay?\|n",noYes|
|00002eb0| 2c 32 29 3b 0d 09 65 6c | 73 65 20 74 65 73 74 4d |,2);..el|se testM|
|00002ec0| 75 6c 74 69 70 6c 65 52 | 65 73 6f 6c 75 74 69 6f |ultipleR|esolutio|
|00002ed0| 6e 73 3d 30 3b 0d 0d 09 | 70 72 69 6e 74 66 28 22 |ns=0;...|printf("|
|00002ee0| 5c 6e 22 29 3b 0d 09 64 | 61 74 61 46 69 6c 65 3d |\n");..d|ataFile=|
|00002ef0| 66 6f 70 65 6e 28 64 61 | 74 61 66 69 6c 65 6e 61 |fopen(da|tafilena|
|00002f00| 6d 65 2c 22 72 22 29 3b | 0d 09 6e 65 77 44 61 74 |me,"r");|..newDat|
|00002f10| 61 46 69 6c 65 3d 28 64 | 61 74 61 46 69 6c 65 3d |aFile=(d|ataFile=|
|00002f20| 3d 4e 55 4c 4c 29 3b 0d | 09 69 66 28 6e 65 77 44 |=NULL);.|.if(newD|
|00002f30| 61 74 61 46 69 6c 65 29 | 7b 0d 09 09 2f 2f 20 74 |ataFile)|{...// t|
|00002f40| 72 79 20 74 6f 20 63 6f | 70 79 20 53 69 6d 70 6c |ry to co|py Simpl|
|00002f50| 65 54 65 78 74 20 73 74 | 79 6c 65 20 72 65 73 6f |eText st|yle reso|
|00002f60| 75 72 63 65 20 66 72 6f | 6d 20 54 69 6d 65 56 69 |urce fro|m TimeVi|
|00002f70| 64 65 6f 20 61 70 70 6c | 69 63 61 74 69 6f 6e 20 |deo appl|ication |
|00002f80| 69 6e 74 6f 20 6f 75 72 | 20 64 6f 63 75 6d 65 6e |into our| documen|
|00002f90| 74 2e 0d 09 09 72 73 72 | 63 3d 47 65 74 52 65 73 |t....rsr|c=GetRes|
|00002fa0| 6f 75 72 63 65 28 27 73 | 74 79 6c 27 2c 31 32 38 |ource('s|tyl',128|
|00002fb0| 29 3b 0d 09 09 69 66 28 | 72 73 72 63 21 3d 4e 55 |);...if(|rsrc!=NU|
|00002fc0| 4c 4c 29 7b 0d 09 09 09 | 63 32 70 73 74 72 28 64 |LL){....|c2pstr(d|
|00002fd0| 61 74 61 66 69 6c 65 6e | 61 6d 65 29 3b 0d 09 09 |atafilen|ame);...|
|00002fe0| 09 43 72 65 61 74 65 52 | 65 73 46 69 6c 65 28 28 |.CreateR|esFile((|
|00002ff0| 75 6e 73 69 67 6e 65 64 | 20 63 68 61 72 20 2a 29 |unsigned| char *)|
|00003000| 64 61 74 61 66 69 6c 65 | 6e 61 6d 65 29 3b 0d 09 |datafile|name);..|
|00003010| 09 09 72 73 72 63 46 69 | 6c 65 3d 4f 70 65 6e 52 |..rsrcFi|le=OpenR|
|00003020| 65 73 46 69 6c 65 28 28 | 75 6e 73 69 67 6e 65 64 |esFile((|unsigned|
|00003030| 20 63 68 61 72 20 2a 29 | 64 61 74 61 66 69 6c 65 | char *)|datafile|
|00003040| 6e 61 6d 65 29 3b 0d 09 | 09 09 70 32 63 73 74 72 |name);..|..p2cstr|
|00003050| 28 28 75 6e 73 69 67 6e | 65 64 20 63 68 61 72 20 |((unsign|ed char |
|00003060| 2a 29 64 61 74 61 66 69 | 6c 65 6e 61 6d 65 29 3b |*)datafi|lename);|
|00003070| 0d 09 09 09 69 66 28 72 | 73 72 63 46 69 6c 65 21 |....if(r|srcFile!|
|00003080| 3d 2d 31 29 7b 0d 09 09 | 09 09 44 65 74 61 63 68 |=-1){...|..Detach|
|00003090| 52 65 73 6f 75 72 63 65 | 28 72 73 72 63 29 3b 0d |Resource|(rsrc);.|
|000030a0| 09 09 09 09 55 73 65 52 | 65 73 46 69 6c 65 28 72 |....UseR|esFile(r|
|000030b0| 73 72 63 46 69 6c 65 29 | 3b 0d 09 09 09 09 41 64 |srcFile)|;.....Ad|
|000030c0| 64 52 65 73 6f 75 72 63 | 65 28 72 73 72 63 2c 27 |dResourc|e(rsrc,'|
|000030d0| 73 74 79 6c 27 2c 31 32 | 38 2c 28 43 6f 6e 73 74 |styl',12|8,(Const|
|000030e0| 53 74 72 32 35 35 50 61 | 72 61 6d 29 22 2f 70 54 |Str255Pa|ram)"/pT|
|000030f0| 69 6d 65 56 69 64 65 6f | 20 72 65 70 6f 72 74 20 |imeVideo| report |
|00003100| 73 74 79 6c 65 22 29 3b | 0d 09 09 09 09 43 6c 6f |style");|.....Clo|
|00003110| 73 65 52 65 73 46 69 6c | 65 28 72 73 72 63 46 69 |seResFil|e(rsrcFi|
|00003120| 6c 65 29 3b 0d 09 09 09 | 7d 65 6c 73 65 20 52 65 |le);....|}else Re|
|00003130| 6c 65 61 73 65 52 65 73 | 6f 75 72 63 65 28 72 73 |leaseRes|ource(rs|
|00003140| 72 63 29 3b 0d 09 09 7d | 0d 09 7d 65 6c 73 65 20 |rc);...}|..}else |
|00003150| 66 63 6c 6f 73 65 28 64 | 61 74 61 46 69 6c 65 29 |fclose(d|ataFile)|
|00003160| 3b 0d 09 6f 5b 30 5d 3d | 73 74 64 6f 75 74 3b 0d |;..o[0]=|stdout;.|
|00003170| 09 6f 5b 31 5d 3d 64 61 | 74 61 46 69 6c 65 3d 66 |.o[1]=da|taFile=f|
|00003180| 6f 70 65 6e 28 64 61 74 | 61 66 69 6c 65 6e 61 6d |open(dat|afilenam|
|00003190| 65 2c 22 61 22 29 3b 09 | 2f 2a 20 41 70 70 65 6e |e,"a");.|/* Appen|
|000031a0| 64 20 74 6f 20 64 61 74 | 61 20 66 69 6c 65 20 2a |d to dat|a file *|
|000031b0| 2f 0d 09 69 66 28 64 61 | 74 61 46 69 6c 65 3d 3d |/..if(da|taFile==|
|000031c0| 4e 55 4c 4c 29 7b 0d 09 | 09 70 72 69 6e 74 66 28 |NULL){..|.printf(|
|000031d0| 22 43 6f 75 6c 64 20 6e | 65 69 74 68 65 72 20 6f |"Could n|either o|
|000031e0| 70 65 6e 20 6e 6f 72 20 | 63 72 65 61 74 65 20 d2 |pen nor |create .|
|000031f0| 25 73 d3 2e 20 50 65 72 | 68 61 70 73 20 79 6f 75 |%s.. Per|haps you|
|00003200| 72 20 64 69 73 6b 20 69 | 73 20 6c 6f 63 6b 65 64 |r disk i|s locked|
|00003210| 2e 5c 6e 22 0d 09 09 09 | 2c 64 61 74 61 66 69 6c |.\n"....|,datafil|
|00003220| 65 6e 61 6d 65 29 3b 0d | 09 09 6e 65 77 44 61 74 |ename);.|..newDat|
|00003230| 61 46 69 6c 65 3d 30 3b | 0d 09 7d 0d 09 69 66 28 |aFile=0;|..}..if(|
|00003240| 6e 65 77 44 61 74 61 46 | 69 6c 65 29 7b 0d 09 09 |newDataF|ile){...|
|00003250| 53 65 74 46 69 6c 65 49 | 6e 66 6f 28 64 61 74 61 |SetFileI|nfo(data|
|00003260| 66 69 6c 65 6e 61 6d 65 | 2c 27 54 45 58 54 27 2c |filename|,'TEXT',|
|00003270| 27 74 74 78 74 27 29 3b | 0d 09 09 66 70 72 69 6e |'ttxt');|...fprin|
|00003280| 74 66 28 64 61 74 61 46 | 69 6c 65 2c 42 72 65 61 |tf(dataF|ile,Brea|
|00003290| 6b 4c 69 6e 65 73 28 0d | 09 09 22 54 68 69 73 20 |kLines(.|.."This |
|000032a0| 66 69 6c 65 20 72 65 70 | 6f 72 74 73 20 74 68 65 |file rep|orts the|
|000032b0| 20 74 69 6d 69 6e 67 20 | 61 6e 64 20 61 63 63 75 | timing |and accu|
|000032c0| 72 61 63 79 20 6f 66 20 | 61 6c 6c 20 79 6f 75 72 |racy of |all your|
|000032d0| 20 76 69 64 65 6f 20 73 | 63 72 65 65 6e 73 2c 20 | video s|creens, |
|000032e0| 22 0d 09 09 22 61 73 20 | 6d 65 61 73 75 72 65 64 |"..."as |measured|
|000032f0| 20 62 79 20 54 69 6d 65 | 56 69 64 65 6f 2c 20 61 | by Time|Video, a|
|00003300| 20 63 6f 6d 70 6f 6e 65 | 6e 74 20 6f 66 20 74 68 | compone|nt of th|
|00003310| 65 20 56 69 64 65 6f 54 | 6f 6f 6c 62 6f 78 2e 20 |e VideoT|oolbox. |
|00003320| 22 0d 09 09 22 54 69 6d | 65 56 69 64 65 6f 20 72 |"..."Tim|eVideo r|
|00003330| 75 6e 73 20 6f 6e 20 61 | 6c 6c 20 4d 61 63 73 2c |uns on a|ll Macs,|
|00003340| 20 72 65 71 75 69 72 69 | 6e 67 20 6f 6e 6c 79 20 | requiri|ng only |
|00003350| 53 79 73 74 65 6d 20 36 | 2e 30 35 20 6f 72 20 62 |System 6|.05 or b|
|00003360| 65 74 74 65 72 2e 20 54 | 6f 20 71 75 69 63 6b 6c |etter. T|o quickl|
|00003370| 79 20 22 0d 09 09 22 74 | 65 73 74 20 61 20 6c 61 |y "..."t|est a la|
|00003380| 72 67 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 63 6f |rge numb|er of co|
|00003390| 6d 70 75 74 65 72 73 2c | 20 72 75 6e 20 54 69 6d |mputers,| run Tim|
|000033a0| 65 56 69 64 65 6f 20 66 | 72 6f 6d 20 61 20 66 6c |eVideo f|rom a fl|
|000033b0| 6f 70 70 79 20 64 69 73 | 6b 3b 20 22 0d 09 09 22 |oppy dis|k; "..."|
|000033c0| 61 6c 6c 20 74 68 65 20 | 72 65 73 75 6c 74 73 20 |all the |results |
|000033d0| 77 69 6c 6c 20 61 63 63 | 75 6d 75 6c 61 74 65 20 |will acc|umulate |
|000033e0| 69 6e 20 61 20 73 69 6e | 67 6c 65 20 72 65 73 75 |in a sin|gle resu|
|000033f0| 6c 74 73 20 66 69 6c 65 | 2e 5c 6e 22 0d 09 09 22 |lts file|.\n"..."|
|00003400| 5c 6e 54 48 45 20 56 49 | 44 45 4f 20 54 4f 4f 4c |\nTHE VI|DEO TOOL|
|00003410| 42 4f 58 5c 6e 22 0d 09 | 09 22 54 68 65 20 56 69 |BOX\n"..|."The Vi|
|00003420| 64 65 6f 54 6f 6f 6c 62 | 6f 78 20 69 73 20 61 20 |deoToolb|ox is a |
|00003430| 63 6f 6c 6c 65 63 74 69 | 6f 6e 20 6f 66 20 74 77 |collecti|on of tw|
|00003440| 6f 20 68 75 6e 64 72 65 | 64 20 43 20 73 75 62 72 |o hundre|d C subr|
|00003450| 6f 75 74 69 6e 65 73 20 | 61 6e 64 20 22 0d 09 09 |outines |and "...|
|00003460| 22 73 65 76 65 72 61 6c | 20 64 65 6d 6f 20 61 6e |"several| demo an|
|00003470| 64 20 75 74 69 6c 69 74 | 79 20 70 72 6f 67 72 61 |d utilit|y progra|
|00003480| 6d 73 20 74 68 61 74 20 | 49 20 61 6e 64 20 6f 74 |ms that |I and ot|
|00003490| 68 65 72 73 20 68 61 76 | 65 20 77 72 69 74 74 65 |hers hav|e writte|
|000034a0| 6e 20 74 6f 20 64 6f 20 | 22 0d 09 09 22 76 69 73 |n to do |"..."vis|
|000034b0| 75 61 6c 20 70 73 79 63 | 68 6f 70 68 79 73 69 63 |ual psyc|hophysic|
|000034c0| 73 20 77 69 74 68 20 4d | 61 63 69 6e 74 6f 73 68 |s with M|acintosh|
|000034d0| 20 63 6f 6d 70 75 74 65 | 72 73 2e 20 49 74 20 69 | compute|rs. It i|
|000034e0| 73 20 66 75 6c 6c 79 20 | 63 6f 6d 70 61 74 69 62 |s fully |compatib|
|000034f0| 6c 65 20 22 0d 09 09 22 | 77 69 74 68 20 36 38 30 |le "..."|with 680|
|00003500| 78 30 20 61 6e 64 20 50 | 6f 77 65 72 50 43 20 4d |x0 and P|owerPC M|
|00003510| 61 63 73 20 61 6e 64 20 | 77 69 74 68 20 4d 65 74 |acs and |with Met|
|00003520| 72 6f 77 65 72 6b 73 20 | 43 6f 64 65 57 61 72 72 |rowerks |CodeWarr|
|00003530| 69 6f 72 20 43 20 35 20 | 61 6e 64 20 22 0d 09 09 |ior C 5 |and "...|
|00003540| 22 53 79 6d 61 6e 74 65 | 63 20 54 48 49 4e 4b 20 |"Symante|c THINK |
|00003550| 43 20 37 20 63 6f 6d 70 | 69 6c 65 72 73 2e 20 49 |C 7 comp|ilers. I|
|00003560| 74 27 73 20 66 72 65 65 | 20 61 6e 64 20 6d 61 79 |t's free| and may|
|00003570| 20 6e 6f 74 20 62 65 20 | 73 6f 6c 64 20 77 69 74 | not be |sold wit|
|00003580| 68 6f 75 74 20 22 0d 09 | 09 22 70 65 72 6d 69 73 |hout "..|."permis|
|00003590| 73 69 6f 6e 2e 20 49 74 | 20 73 68 6f 75 6c 64 20 |sion. It| should |
|000035a0| 62 65 20 75 73 65 66 75 | 6c 20 74 6f 20 61 6e 79 |be usefu|l to any|
|000035b0| 6f 6e 65 20 77 68 6f 20 | 77 61 6e 74 73 20 74 6f |one who |wants to|
|000035c0| 20 70 72 65 73 65 6e 74 | 20 22 0d 09 09 22 61 63 | present| "..."ac|
|000035d0| 63 75 72 61 74 65 6c 79 | 20 73 70 65 63 69 66 69 |curately| specifi|
|000035e0| 65 64 20 76 69 73 75 61 | 6c 20 73 74 69 6d 75 6c |ed visua|l stimul|
|000035f0| 69 20 6f 72 20 75 73 65 | 20 74 68 65 20 4d 61 63 |i or use| the Mac|
|00003600| 20 66 6f 72 20 70 73 79 | 63 68 6f 6d 65 74 72 69 | for psy|chometri|
|00003610| 63 20 22 0d 09 09 22 65 | 78 70 65 72 69 6d 65 6e |c "..."e|xperimen|
|00003620| 74 73 2e 20 54 68 65 20 | 74 65 78 74 20 66 69 6c |ts. The |text fil|
|00003630| 65 20 5c 22 56 69 64 65 | 6f 20 73 79 6e 63 68 5c |e \"Vide|o synch\|
|00003640| 22 20 64 69 73 63 75 73 | 73 65 73 20 61 6c 6c 20 |" discus|ses all |
|00003650| 74 68 65 20 77 61 79 73 | 20 6f 66 20 22 0d 09 09 |the ways| of "...|
|00003660| 22 73 79 6e 63 68 72 6f | 6e 69 7a 69 6e 67 20 70 |"synchro|nizing p|
|00003670| 72 6f 67 72 61 6d 73 20 | 74 6f 20 76 69 64 65 6f |rograms |to video|
|00003680| 20 64 69 73 70 6c 61 79 | 73 20 61 6e 64 20 74 68 | display|s and th|
|00003690| 65 20 6d 61 6e 79 20 70 | 69 74 66 61 6c 6c 73 20 |e many p|itfalls |
|000036a0| 74 6f 20 61 76 6f 69 64 | 2e 20 22 0d 09 09 22 54 |to avoid|. "..."T|
|000036b0| 68 65 20 54 69 6d 65 56 | 69 64 65 6f 20 61 70 70 |he TimeV|ideo app|
|000036c0| 6c 69 63 61 74 69 6f 6e | 20 63 68 65 63 6b 73 20 |lication| checks |
|000036d0| 6f 75 74 20 74 68 65 20 | 74 69 6d 69 6e 67 20 6f |out the |timing o|
|000036e0| 66 20 61 6c 6c 20 76 69 | 64 65 6f 20 64 65 76 69 |f all vi|deo devi|
|000036f0| 63 65 73 20 69 6e 20 22 | 0d 09 09 22 61 6e 74 69 |ces in "|..."anti|
|00003700| 63 69 70 61 74 69 6f 6e | 20 6f 66 20 74 68 65 69 |cipation| of thei|
|00003710| 72 20 75 73 65 20 69 6e | 20 63 72 69 74 69 63 61 |r use in| critica|
|00003720| 6c 20 72 65 61 6c 2d 74 | 69 6d 65 20 61 70 70 6c |l real-t|ime appl|
|00003730| 69 63 61 74 69 6f 6e 73 | 2c 20 65 2e 67 2e 20 22 |ications|, e.g. "|
|00003740| 0d 09 09 22 6d 6f 76 69 | 65 73 20 6f 72 20 6c 6f |..."movi|es or lo|
|00003750| 6f 6b 75 70 20 74 61 62 | 6c 65 20 61 6e 69 6d 61 |okup tab|le anima|
|00003760| 74 69 6f 6e 2e 20 4c 6f | 77 2d 6c 65 76 65 6c 20 |tion. Lo|w-level |
|00003770| 72 6f 75 74 69 6e 65 73 | 20 63 6f 6e 74 72 6f 6c |routines| control|
|00003780| 20 76 69 64 65 6f 20 22 | 0d 09 09 22 74 69 6d 69 | video "|..."timi|
|00003790| 6e 67 20 61 6e 64 20 6c | 6f 6f 6b 75 70 20 74 61 |ng and l|ookup ta|
|000037a0| 62 6c 65 73 2c 20 64 69 | 73 70 6c 61 79 20 72 65 |bles, di|splay re|
|000037b0| 61 6c 2d 74 69 6d 65 20 | 6d 6f 76 69 65 73 2c 20 |al-time |movies, |
|000037c0| 61 6e 64 20 69 6d 70 6c | 65 6d 65 6e 74 20 74 68 |and impl|ement th|
|000037d0| 65 20 22 0d 09 09 22 6c | 75 6d 69 6e 61 6e 63 65 |e "..."l|uminance|
|000037e0| 2d 63 6f 6e 74 72 6f 6c | 20 61 6c 67 6f 72 69 74 |-control| algorit|
|000037f0| 68 6d 73 20 73 75 67 67 | 65 73 74 65 64 20 62 79 |hms sugg|ested by|
|00003800| 20 50 65 6c 6c 69 20 61 | 6e 64 20 5a 68 61 6e 67 | Pelli a|nd Zhang|
|00003810| 20 28 31 39 39 31 29 2e | 20 28 44 2e 47 2e 20 22 | (1991).| (D.G. "|
|00003820| 0d 09 09 22 50 65 6c 6c | 69 20 61 6e 64 20 4c 2e |..."Pell|i and L.|
|00003830| 20 5a 68 61 6e 67 2c 20 | 31 39 39 31 2c 20 5c 22 | Zhang, |1991, \"|
|00003840| 41 63 63 75 72 61 74 65 | 20 63 6f 6e 74 72 6f 6c |Accurate| control|
|00003850| 20 6f 66 20 63 6f 6e 74 | 72 61 73 74 20 6f 6e 20 | of cont|rast on |
|00003860| 22 0d 09 09 22 6d 69 63 | 72 6f 63 6f 6d 70 75 74 |"..."mic|rocomput|
|00003870| 65 72 20 64 69 73 70 6c | 61 79 73 2e 5c 22 20 56 |er displ|ays.\" V|
|00003880| 69 73 69 6f 6e 20 52 65 | 73 65 61 72 63 68 2c 20 |ision Re|search, |
|00003890| 33 31 2c 20 31 33 33 37 | 2d 31 33 35 30 2e 20 52 |31, 1337|-1350. R|
|000038a0| 65 70 72 69 6e 74 73 20 | 61 72 65 20 22 0d 09 09 |eprints |are "...|
|000038b0| 22 61 76 61 69 6c 61 62 | 6c 65 2e 29 20 49 6e 20 |"availab|le.) In |
|000038c0| 70 61 72 74 69 63 75 6c | 61 72 2c 20 47 65 74 50 |particul|ar, GetP|
|000038d0| 69 78 65 6c 73 51 75 69 | 63 6b 6c 79 20 61 6e 64 |ixelsQui|ckly and|
|000038e0| 20 53 65 74 50 69 78 65 | 6c 73 51 75 69 63 6b 6c | SetPixe|lsQuickl|
|000038f0| 79 20 70 65 65 6b 20 22 | 0d 09 09 22 61 6e 64 20 |y peek "|..."and |
|00003900| 70 6f 6b 65 20 70 69 78 | 65 6c 73 20 69 6e 20 62 |poke pix|els in b|
|00003910| 69 74 6d 61 70 73 20 61 | 6e 64 20 70 69 78 6d 61 |itmaps a|nd pixma|
|00003920| 70 73 2c 20 43 6f 70 79 | 42 69 74 73 51 75 69 63 |ps, Copy|BitsQuic|
|00003930| 6b 6c 79 20 61 6e 64 20 | 43 6f 70 79 57 69 6e 64 |kly and |CopyWind|
|00003940| 6f 77 73 20 22 0d 09 09 | 22 66 61 69 74 68 66 75 |ows "...|"faithfu|
|00003950| 6c 6c 79 20 63 6f 70 79 | 20 62 65 74 77 65 65 6e |lly copy| between|
|00003960| 20 62 69 74 2f 70 69 78 | 6d 61 70 73 20 61 6e 64 | bit/pix|maps and|
|00003970| 20 74 68 65 20 73 63 72 | 65 65 6e 2c 20 57 69 6e | the scr|een, Win|
|00003980| 64 6f 77 54 6f 45 50 53 | 20 73 61 76 65 73 20 61 |dowToEPS| saves a|
|00003990| 6e 20 22 0d 09 09 22 69 | 6d 61 67 65 20 74 6f 20 |n "..."i|mage to |
|000039a0| 64 69 73 6b 2c 20 66 6f | 72 20 6c 61 74 65 72 20 |disk, fo|r later |
|000039b0| 70 72 69 6e 74 69 6e 67 | 20 6f 72 20 69 6e 63 6f |printing| or inco|
|000039c0| 72 70 6f 72 61 74 69 6f | 6e 20 69 6e 74 6f 20 61 |rporatio|n into a|
|000039d0| 20 64 6f 63 75 6d 65 6e | 74 2c 20 61 6e 64 20 22 | documen|t, and "|
|000039e0| 0d 09 09 22 53 65 74 45 | 6e 74 72 69 65 73 51 75 |..."SetE|ntriesQu|
|000039f0| 69 63 6b 6c 79 20 61 6e | 64 20 47 44 53 65 74 45 |ickly an|d GDSetE|
|00003a00| 6e 74 72 69 65 73 20 6c | 6f 61 64 20 74 68 65 20 |ntries l|oad the |
|00003a10| 73 63 72 65 65 6e 27 73 | 20 63 6f 6c 6f 72 20 6c |screen's| color l|
|00003a20| 6f 6f 6b 75 70 20 74 61 | 62 6c 65 2c 20 22 0d 09 |ookup ta|ble, "..|
|00003a30| 09 22 61 6c 6c 20 77 69 | 74 68 6f 75 74 20 61 6e |."all wi|thout an|
|00003a40| 79 20 6f 66 20 51 75 69 | 63 6b 44 72 61 77 27 73 |y of Qui|ckDraw's|
|00003a50| 20 63 6f 6c 6f 72 20 74 | 72 61 6e 73 6c 61 74 69 | color t|ranslati|
|00003a60| 6f 6e 73 2e 20 48 69 67 | 68 2d 6c 65 76 65 6c 20 |ons. Hig|h-level |
|00003a70| 72 6f 75 74 69 6e 65 73 | 20 22 0d 09 09 22 68 65 |routines| "..."he|
|00003a80| 6c 70 20 61 6e 61 6c 79 | 7a 65 20 70 73 79 63 68 |lp analy|ze psych|
|00003a90| 6f 70 68 79 73 69 63 61 | 6c 20 65 78 70 65 72 69 |ophysica|l experi|
|00003aa0| 6d 65 6e 74 73 20 28 65 | 2e 67 2e 20 67 72 61 70 |ments (e|.g. grap|
|00003ab0| 68 69 6e 67 20 6f 72 20 | 22 0d 09 09 22 6d 61 78 |hing or |"..."max|
|00003ac0| 69 6d 75 6d 2d 6c 69 6b | 65 6c 69 68 6f 6f 64 20 |imum-lik|elihood |
|00003ad0| 66 69 74 74 69 6e 67 20 | 6f 66 20 70 73 79 63 68 |fitting |of psych|
|00003ae0| 6f 6d 65 74 72 69 63 20 | 64 61 74 61 29 2e 20 41 |ometric |data). A|
|00003af0| 73 73 69 67 6e 2e 63 20 | 69 73 20 61 20 72 75 6e |ssign.c |is a run|
|00003b00| 74 69 6d 65 20 22 0d 09 | 09 22 43 20 69 6e 74 65 |time "..|."C inte|
|00003b10| 72 70 72 65 74 65 72 20 | 66 6f 72 20 43 20 61 73 |rpreter |for C as|
|00003b20| 73 69 67 6e 6d 65 6e 74 | 20 73 74 61 74 65 6d 65 |signment| stateme|
|00003b30| 6e 74 73 2c 20 77 68 69 | 63 68 20 69 73 20 75 73 |nts, whi|ch is us|
|00003b40| 65 66 75 6c 20 66 6f 72 | 20 22 0d 09 09 22 63 6f |eful for| "..."co|
|00003b50| 6e 74 72 6f 6c 6c 69 6e | 67 20 65 78 70 65 72 69 |ntrollin|g experi|
|00003b60| 6d 65 6e 74 73 20 61 6e | 64 20 73 68 61 72 69 6e |ments an|d sharin|
|00003b70| 67 20 63 61 6c 69 62 72 | 61 74 69 6f 6e 20 64 61 |g calibr|ation da|
|00003b80| 74 61 2e 20 22 0d 09 09 | 22 4d 61 6e 79 20 6f 66 |ta. "...|"Many of|
|00003b90| 20 74 68 65 20 72 6f 75 | 74 69 6e 65 73 20 61 72 | the rou|tines ar|
|00003ba0| 65 20 4d 61 63 2d 73 70 | 65 63 69 66 69 63 2c 20 |e Mac-sp|ecific, |
|00003bb0| 62 75 74 20 73 6f 6d 65 | 20 76 65 72 79 20 22 0d |but some| very ".|
|00003bc0| 09 09 22 75 73 65 66 75 | 6c 20 72 6f 75 74 69 6e |.."usefu|l routin|
|00003bd0| 65 73 2c 20 65 2e 67 2e | 20 74 68 65 20 6c 75 6d |es, e.g.| the lum|
|00003be0| 69 6e 61 6e 63 65 2d 63 | 6f 6e 74 72 6f 6c 2c 20 |inance-c|ontrol, |
|00003bf0| 73 74 61 74 69 73 74 69 | 63 73 2c 20 22 0d 09 09 |statisti|cs, "...|
|00003c00| 22 6d 61 78 69 6d 75 6d | 2d 6c 69 6b 65 6c 69 68 |"maximum|-likelih|
|00003c10| 6f 6f 64 20 66 69 74 74 | 69 6e 67 20 61 6c 67 6f |ood fitt|ing algo|
|00003c20| 72 69 74 68 6d 73 2c 20 | 61 6e 64 20 74 68 65 20 |rithms, |and the |
|00003c30| 72 75 6e 74 69 6d 65 20 | 69 6e 74 65 72 70 72 65 |runtime |interpre|
|00003c40| 74 65 72 20 61 72 65 20 | 22 0d 09 09 22 77 72 69 |ter are |"..."wri|
|00003c50| 74 74 65 6e 20 69 6e 20 | 53 74 61 6e 64 61 72 64 |tten in |Standard|
|00003c60| 20 43 20 61 6e 64 20 77 | 69 6c 6c 20 77 6f 72 6b | C and w|ill work|
|00003c70| 20 6f 6e 20 61 6e 79 20 | 63 6f 6d 70 75 74 65 72 | on any |computer|
|00003c80| 2e 20 22 0d 09 09 22 44 | 6f 63 75 6d 65 6e 74 61 |. "..."D|ocumenta|
|00003c90| 74 69 6f 6e 20 69 73 20 | 69 6e 20 74 68 65 20 73 |tion is |in the s|
|00003ca0| 6f 75 72 63 65 20 66 69 | 6c 65 73 20 74 68 65 6d |ource fi|les them|
|00003cb0| 73 65 6c 76 65 73 2e 20 | 22 0d 09 09 22 54 68 69 |selves. |"..."Thi|
|00003cc0| 73 20 63 6f 6c 6c 65 63 | 74 69 6f 6e 20 68 61 73 |s collec|tion has|
|00003cd0| 20 62 65 65 6e 20 63 6f | 6e 74 69 6e 75 61 6c 6c | been co|ntinuall|
|00003ce0| 79 20 75 70 64 61 74 65 | 64 20 73 69 6e 63 65 20 |y update|d since |
|00003cf0| 31 39 39 31 2e 20 22 0d | 09 09 22 59 6f 75 20 63 |1991. ".|.."You c|
|00003d00| 61 6e 20 64 6f 77 6e 6c | 6f 61 64 20 74 68 65 20 |an downl|oad the |
|00003d10| 6c 61 74 65 73 74 20 76 | 65 72 73 69 6f 6e 20 6f |latest v|ersion o|
|00003d20| 66 20 22 0d 09 09 22 5c | 22 76 69 64 65 6f 2d 74 |f "..."\|"video-t|
|00003d30| 6f 6f 6c 62 6f 78 5c 22 | 20 66 72 6f 6d 20 61 20 |oolbox\"| from a |
|00003d40| 70 75 62 6c 69 63 20 61 | 72 63 68 69 76 65 2c 20 |public a|rchive, |
|00003d50| 65 2e 67 2e 3a 5c 6e 22 | 0d 09 09 22 66 74 70 3a |e.g.:\n"|..."ftp:|
|00003d60| 2f 2f 73 75 6d 65 78 2d | 61 69 6d 2e 73 74 61 6e |//sumex-|aim.stan|
|00003d70| 66 6f 72 64 2e 65 64 75 | 2f 69 6e 66 6f 2d 6d 61 |ford.edu|/info-ma|
|00003d80| 63 2f 64 65 76 2f 73 72 | 63 2f 5c 6e 22 0d 09 09 |c/dev/sr|c/\n"...|
|00003d90| 22 66 74 70 3a 2f 2f 6d | 69 72 72 6f 72 73 2e 61 |"ftp://m|irrors.a|
|00003da0| 6f 6c 2e 63 6f 6d 2f 70 | 75 62 2f 69 6e 66 6f 2d |ol.com/p|ub/info-|
|00003db0| 6d 61 63 2f 64 65 76 2f | 73 72 63 2f 5c 6e 22 0d |mac/dev/|src/\n".|
|00003dc0| 09 09 22 66 74 70 3a 2f | 2f 67 72 69 6e 64 2e 69 |.."ftp:/|/grind.i|
|00003dd0| 73 63 61 2e 75 69 6f 77 | 61 2e 65 64 75 2f 6d 61 |sca.uiow|a.edu/ma|
|00003de0| 63 2f 69 6e 66 6f 6d 61 | 63 2f 64 65 76 2f 73 72 |c/infoma|c/dev/sr|
|00003df0| 63 2f 5c 6e 22 0d 09 09 | 22 66 74 70 3a 2f 2f 66 |c/\n"...|"ftp://f|
|00003e00| 74 70 2e 75 75 2e 6e 65 | 74 2f 61 72 63 68 69 76 |tp.uu.ne|t/archiv|
|00003e10| 65 2f 73 79 73 74 65 6d | 73 2f 6d 61 63 2f 69 6e |e/system|s/mac/in|
|00003e20| 66 6f 2d 6d 61 63 2f 64 | 65 76 2f 73 72 63 2f 5c |fo-mac/d|ev/src/\|
|00003e30| 6e 22 0d 09 09 22 66 74 | 70 3a 2f 2f 61 6d 75 67 |n"..."ft|p://amug|
|00003e40| 2e 6f 72 67 2f 70 75 62 | 2f 66 74 70 31 2f 69 6e |.org/pub|/ftp1/in|
|00003e50| 66 6f 2d 6d 61 63 2f 64 | 65 76 2f 73 72 63 2f 5c |fo-mac/d|ev/src/\|
|00003e60| 6e 22 0d 09 09 22 66 74 | 70 3a 2f 2f 77 75 61 72 |n"..."ft|p://wuar|
|00003e70| 63 68 69 76 65 2e 77 75 | 73 74 6c 2e 65 64 75 2f |chive.wu|stl.edu/|
|00003e80| 73 79 73 74 65 6d 73 2f | 6d 61 63 2f 69 6e 66 6f |systems/|mac/info|
|00003e90| 2d 6d 61 63 2f 64 65 76 | 2f 73 72 63 2f 5c 6e 22 |-mac/dev|/src/\n"|
|00003ea0| 0d 09 09 22 66 74 70 3a | 2f 2f 73 72 63 2e 64 6f |..."ftp:|//src.do|
|00003eb0| 63 2e 69 63 2e 61 63 2e | 75 6b 2f 70 61 63 6b 61 |c.ic.ac.|uk/packa|
|00003ec0| 67 65 73 2f 6d 61 63 2f | 69 6e 66 6f 2d 6d 61 63 |ges/mac/|info-mac|
|00003ed0| 2f 64 65 76 2f 73 72 63 | 2f 5c 6e 22 0d 09 09 22 |/dev/src|/\n"..."|
|00003ee0| 66 74 70 3a 2f 2f 66 74 | 70 2e 73 74 6f 6c 61 66 |ftp://ft|p.stolaf|
|00003ef0| 2e 65 64 75 2f 70 75 62 | 2f 6d 61 63 70 73 79 63 |.edu/pub|/macpsyc|
|00003f00| 68 2f 5c 6e 22 0d 09 09 | 22 43 6f 6d 70 75 53 65 |h/\n"...|"CompuSe|
|00003f10| 72 76 65 3a 2f 2f 4d 61 | 63 44 65 76 20 66 6f 72 |rve://Ma|cDev for|
|00003f20| 75 6d 2f 4c 69 62 72 61 | 72 79 20 34 20 5c 22 43 |um/Libra|ry 4 \"C|
|00003f30| 20 61 6e 64 20 50 61 73 | 63 61 6c 5c 22 2f 56 49 | and Pas|cal\"/VI|
|00003f40| 44 45 4f 54 2e 53 45 41 | 5c 6e 22 0d 09 09 22 4f |DEOT.SEA|\n"..."O|
|00003f50| 72 20 79 6f 75 20 63 61 | 6e 20 72 65 71 75 65 73 |r you ca|n reques|
|00003f60| 74 20 61 20 66 69 6c 65 | 20 62 79 20 65 6d 61 69 |t a file| by emai|
|00003f70| 6c 3b 20 66 6f 72 20 69 | 6e 73 74 72 75 63 74 69 |l; for i|nstructi|
|00003f80| 6f 6e 73 20 73 65 6e 64 | 20 61 20 71 75 65 72 79 |ons send| a query|
|00003f90| 20 74 6f 20 22 0d 09 09 | 22 49 6e 66 6f 2d 4d 61 | to "...|"Info-Ma|
|00003fa0| 63 2d 52 65 71 75 65 73 | 74 40 73 75 6d 65 78 2d |c-Reques|t@sumex-|
|00003fb0| 61 69 6d 2e 73 74 61 6e | 66 6f 72 64 2e 65 64 75 |aim.stan|ford.edu|
|00003fc0| 2e 22 0d 09 09 22 5c 6e | 5c 6e 54 6f 20 67 65 74 |."..."\n|\nTo get|
|00003fd0| 20 66 75 74 75 72 65 20 | 76 65 72 73 69 6f 6e 73 | future |versions|
|00003fe0| 20 61 75 74 6f 6d 61 74 | 69 63 61 6c 6c 79 2c 20 | automat|ically, |
|00003ff0| 6a 75 73 74 20 73 65 6e | 64 20 6d 65 20 79 6f 75 |just sen|d me you|
|00004000| 72 20 6e 61 6d 65 20 61 | 6e 64 20 65 6d 61 69 6c |r name a|nd email|
|00004010| 20 61 64 64 72 65 73 73 | 2e 20 22 0d 09 09 22 45 | address|. "..."E|
|00004020| 61 63 68 20 74 69 6d 65 | 20 49 20 70 6f 73 74 20 |ach time| I post |
|00004030| 61 20 6e 65 77 20 76 65 | 72 73 69 6f 6e 20 6f 66 |a new ve|rsion of|
|00004040| 20 74 68 65 20 56 69 64 | 65 6f 54 6f 6f 6c 62 6f | the Vid|eoToolbo|
|00004050| 78 20 74 6f 20 74 68 65 | 20 49 6e 66 6f 2d 4d 61 |x to the| Info-Ma|
|00004060| 63 20 22 0d 09 09 22 41 | 72 63 68 69 76 65 73 2c |c "..."A|rchives,|
|00004070| 20 49 20 65 6d 61 69 6c | 20 61 20 63 6f 70 79 20 | I email| a copy |
|00004080| 74 6f 20 65 76 65 72 79 | 6f 6e 65 20 6f 6e 20 74 |to every|one on t|
|00004090| 68 65 20 73 75 62 73 63 | 72 69 70 74 69 6f 6e 20 |he subsc|ription |
|000040a0| 6c 69 73 74 3b 20 74 68 | 65 72 65 20 61 72 65 20 |list; th|ere are |
|000040b0| 22 0d 09 09 22 63 75 72 | 72 65 6e 74 6c 79 20 6f |"..."cur|rently o|
|000040c0| 76 65 72 20 6f 6e 65 20 | 68 75 6e 64 72 65 64 20 |ver one |hundred |
|000040d0| 73 75 62 73 63 72 69 62 | 65 72 73 2e 5c 6e 22 2c |subscrib|ers.\n",|
|000040e0| 37 38 29 29 3b 0d 09 66 | 70 72 69 6e 74 66 28 64 |78));..f|printf(d|
|000040f0| 61 74 61 46 69 6c 65 2c | 0d 09 09 22 44 65 6e 69 |ataFile,|..."Deni|
|00004100| 73 20 50 65 6c 6c 69 2c | 20 64 65 6e 69 73 40 78 |s Pelli,| denis@x|
|00004110| 70 2e 70 73 79 63 68 2e | 6e 79 75 2e 65 64 75 5c |p.psych.|nyu.edu\|
|00004120| 6e 22 0d 09 09 22 55 6e | 74 69 6c 20 4a 75 6c 79 |n"..."Un|til July|
|00004130| 2c 20 31 39 39 35 3a 20 | 49 6e 73 74 69 74 75 74 |, 1995: |Institut|
|00004140| 65 20 66 6f 72 20 53 65 | 6e 73 6f 72 79 20 52 65 |e for Se|nsory Re|
|00004150| 73 65 61 72 63 68 2c 20 | 53 79 72 61 63 75 73 65 |search, |Syracuse|
|00004160| 20 55 6e 69 76 65 72 73 | 69 74 79 2c 20 22 0d 09 | Univers|ity, "..|
|00004170| 09 22 53 79 72 61 63 75 | 73 65 2c 20 4e 59 20 31 |."Syracu|se, NY 1|
|00004180| 33 32 34 34 2d 35 32 39 | 30 2c 20 55 53 41 2e 5c |3244-529|0, USA.\|
|00004190| 6e 22 0d 09 09 22 54 68 | 65 72 65 61 66 74 65 72 |n"..."Th|ereafter|
|000041a0| 3a 20 44 65 70 61 72 74 | 6d 65 6e 74 20 6f 66 20 |: Depart|ment of |
|000041b0| 50 73 79 63 68 6f 6c 6f | 67 79 2c 20 4e 65 77 20 |Psycholo|gy, New |
|000041c0| 59 6f 72 6b 20 55 6e 69 | 76 65 72 73 69 74 79 2c |York Uni|versity,|
|000041d0| 20 22 0d 09 09 22 36 20 | 57 61 73 68 69 6e 67 74 | "..."6 |Washingt|
|000041e0| 6f 6e 20 50 6c 61 63 65 | 2c 20 4e 65 77 20 59 6f |on Place|, New Yo|
|000041f0| 72 6b 2c 20 4e 59 20 31 | 30 30 30 33 2c 20 55 53 |rk, NY 1|0003, US|
|00004200| 41 5c 6e 22 0d 09 09 22 | 5c 6e 22 29 3b 0d 09 66 |A\n"..."|\n");..f|
|00004210| 70 72 69 6e 74 66 28 64 | 61 74 61 46 69 6c 65 2c |printf(d|ataFile,|
|00004220| 42 72 65 61 6b 4c 69 6e | 65 73 28 0d 09 09 22 5c |BreakLin|es(..."\|
|00004230| 6e 54 49 4d 45 20 56 49 | 44 45 4f 5c 6e 22 0d 09 |nTIME VI|DEO\n"..|
|00004240| 09 22 46 6f 72 20 65 61 | 63 68 20 76 69 64 65 6f |."For ea|ch video|
|00004250| 20 63 61 72 64 2c 20 54 | 69 6d 65 56 69 64 65 6f | card, T|imeVideo|
|00004260| 20 6d 65 61 73 75 72 65 | 73 20 74 68 65 20 76 69 | measure|s the vi|
|00004270| 64 65 6f 20 66 72 61 6d | 65 20 72 61 74 65 2c 20 |deo fram|e rate, |
|00004280| 66 72 65 71 75 65 6e 63 | 79 20 6f 66 20 56 42 4c |frequenc|y of VBL|
|00004290| 20 22 0d 09 09 22 69 6e | 74 65 72 72 75 70 74 73 | "..."in|terrupts|
|000042a0| 20 28 6f 75 67 68 74 20 | 74 6f 20 62 65 20 6f 6e | (ought |to be on|
|000042b0| 65 20 70 65 72 20 66 72 | 61 6d 65 29 2c 20 68 6f |e per fr|ame), ho|
|000042c0| 77 20 6c 6f 6e 67 20 69 | 74 20 74 61 6b 65 73 20 |w long i|t takes |
|000042d0| 74 6f 20 6c 6f 61 64 20 | 74 68 65 20 63 6c 75 74 |to load |the clut|
|000042e0| 20 22 0d 09 09 22 28 6f | 75 67 68 74 20 74 6f 20 | "..."(o|ught to |
|000042f0| 62 65 20 6f 6e 65 20 66 | 72 61 6d 65 20 6f 72 20 |be one f|rame or |
|00004300| 6c 65 73 73 29 2c 20 22 | 0d 09 09 22 61 6e 64 20 |less), "|..."and |
|00004310| 68 6f 77 20 6d 75 63 68 | 20 6f 66 20 74 68 65 20 |how much| of the |
|00004320| 73 63 72 65 65 6e 20 79 | 6f 75 20 63 61 6e 20 66 |screen y|ou can f|
|00004330| 69 6c 6c 20 77 69 74 68 | 20 61 20 72 65 61 6c 2d |ill with| a real-|
|00004340| 74 69 6d 65 20 6f 6e 65 | 2d 69 6d 61 67 65 2d 70 |time one|-image-p|
|00004350| 65 72 2d 66 72 61 6d 65 | 20 22 0d 09 09 22 6d 6f |er-frame| "..."mo|
|00004360| 76 69 65 20 73 68 6f 77 | 6e 20 62 79 20 43 6f 70 |vie show|n by Cop|
|00004370| 79 42 69 74 73 28 29 20 | 6f 72 20 43 6f 70 79 42 |yBits() |or CopyB|
|00004380| 69 74 73 51 75 69 63 6b | 6c 79 28 29 2e 20 49 74 |itsQuick|ly(). It|
|00004390| 20 74 68 65 6e 20 70 65 | 72 66 6f 72 6d 73 20 61 | then pe|rforms a|
|000043a0| 20 72 61 6e 64 6f 6d 20 | 22 0d 09 09 22 77 72 69 | random |"..."wri|
|000043b0| 74 65 2d 74 68 65 6e 2d | 72 65 61 64 20 74 65 73 |te-then-|read tes|
|000043c0| 74 20 6f 66 20 74 68 65 | 20 43 6f 6c 6f 72 20 4c |t of the| Color L|
|000043d0| 6f 6f 6b 75 70 20 54 61 | 62 6c 65 20 28 63 6c 75 |ookup Ta|ble (clu|
|000043e0| 74 29 2e 20 54 68 69 73 | 20 74 65 73 74 73 20 74 |t). This| tests t|
|000043f0| 68 65 20 63 6c 75 74 20 | 22 0d 09 09 22 6d 65 6d |he clut |"..."mem|
|00004400| 6f 72 79 20 68 61 72 64 | 77 61 72 65 20 61 6e 64 |ory hard|ware and|
|00004410| 20 74 68 65 20 73 6f 66 | 74 77 61 72 65 20 75 73 | the sof|tware us|
|00004420| 65 64 20 74 6f 20 77 72 | 69 74 65 20 61 6e 64 20 |ed to wr|ite and |
|00004430| 72 65 61 64 20 74 68 65 | 20 63 6c 75 74 2e 20 57 |read the| clut. W|
|00004440| 65 20 74 65 73 74 20 22 | 0d 09 09 22 77 72 69 74 |e test "|..."writ|
|00004450| 69 6e 67 20 62 79 20 47 | 44 53 65 74 45 6e 74 72 |ing by G|DSetEntr|
|00004460| 69 65 73 28 29 2c 20 77 | 68 69 63 68 20 6d 61 6b |ies(), w|hich mak|
|00004470| 65 73 20 61 20 63 73 63 | 53 65 74 45 6e 74 72 69 |es a csc|SetEntri|
|00004480| 65 73 20 63 61 6c 6c 20 | 74 6f 20 74 68 65 20 76 |es call |to the v|
|00004490| 69 64 65 6f 20 64 72 69 | 76 65 72 2c 20 61 6e 64 |ideo dri|ver, and|
|000044a0| 2c 20 22 0d 09 09 22 69 | 66 20 70 6f 73 73 69 62 |, "..."i|f possib|
|000044b0| 6c 65 2c 20 77 65 20 61 | 6c 73 6f 20 74 65 73 74 |le, we a|lso test|
|000044c0| 20 77 72 69 74 69 6e 67 | 20 62 79 20 53 65 74 45 | writing| by SetE|
|000044d0| 6e 74 72 69 65 73 51 75 | 69 63 6b 6c 79 28 29 2c |ntriesQu|ickly(),|
|000044e0| 20 77 68 69 63 68 20 61 | 63 63 65 73 73 65 73 20 | which a|ccesses |
|000044f0| 74 68 65 20 68 61 72 64 | 77 61 72 65 20 22 0d 09 |the hard|ware "..|
|00004500| 09 22 64 69 72 65 63 74 | 6c 79 2e 20 28 53 65 74 |."direct|ly. (Set|
|00004510| 45 6e 74 72 69 65 73 51 | 75 69 63 6b 6c 79 20 73 |EntriesQ|uickly s|
|00004520| 75 70 70 6f 72 74 73 20 | 6f 6e 6c 79 20 61 20 66 |upports |only a f|
|00004530| 65 77 20 76 69 64 65 6f | 20 63 61 72 64 73 2e 29 |ew video| cards.)|
|00004540| 20 22 0d 09 09 22 49 6e | 20 65 69 74 68 65 72 20 | "..."In| either |
|00004550| 63 61 73 65 2c 20 74 68 | 65 20 63 6c 75 74 20 69 |case, th|e clut i|
|00004560| 73 20 72 65 61 64 20 62 | 79 20 47 44 47 65 74 45 |s read b|y GDGetE|
|00004570| 6e 74 72 69 65 73 2c 20 | 22 0d 09 09 22 77 68 69 |ntries, |"..."whi|
|00004580| 63 68 20 6d 61 6b 65 73 | 20 61 20 63 73 63 47 65 |ch makes| a cscGe|
|00004590| 74 45 6e 74 72 69 65 73 | 20 63 61 6c 6c 20 74 6f |tEntries| call to|
|000045a0| 20 74 68 65 20 76 69 64 | 65 6f 20 64 72 69 76 65 | the vid|eo drive|
|000045b0| 72 2e 20 22 0d 09 09 22 | 54 68 65 20 74 65 73 74 |r. "..."|The test|
|000045c0| 69 6e 67 20 69 73 20 74 | 68 6f 72 6f 75 67 68 3b |ing is t|horough;|
|000045d0| 20 6d 61 6e 79 20 76 69 | 64 65 6f 20 64 65 76 69 | many vi|deo devi|
|000045e0| 63 65 73 20 66 61 69 6c | 20 22 0d 09 09 22 61 74 |ces fail| "..."at|
|000045f0| 20 6c 65 61 73 74 20 70 | 61 72 74 20 6f 66 20 74 | least p|art of t|
|00004600| 68 65 20 74 65 73 74 2e | 20 41 6c 6c 20 74 68 65 |he test.| All the|
|00004610| 20 64 72 69 76 65 72 20 | 65 72 72 6f 72 73 20 75 | driver |errors u|
|00004620| 6e 63 6f 76 65 72 65 64 | 20 74 6f 20 64 61 74 65 |ncovered| to date|
|00004630| 20 61 70 70 65 61 72 20 | 69 6e 20 74 68 65 20 22 | appear |in the "|
|00004640| 0d 09 09 22 56 69 64 65 | 6f 54 6f 6f 6c 62 6f 78 |..."Vide|oToolbox|
|00004650| 20 5c 22 56 69 64 65 6f | 20 62 75 67 73 5c 22 20 | \"Video| bugs\" |
|00004660| 74 65 78 74 20 66 69 6c | 65 2c 20 61 6e 64 20 68 |text fil|e, and h|
|00004670| 61 76 65 20 62 65 65 6e | 20 72 65 70 6f 72 74 65 |ave been| reporte|
|00004680| 64 20 74 6f 20 74 68 65 | 20 76 69 64 65 6f 20 63 |d to the| video c|
|00004690| 61 72 64 27 73 20 22 0d | 09 09 22 6d 61 6e 75 66 |ard's ".|.."manuf|
|000046a0| 61 63 74 75 72 65 72 2e | 20 41 64 64 20 79 6f 75 |acturer.| Add you|
|000046b0| 72 20 72 65 73 75 6c 74 | 73 20 62 79 20 65 6d 61 |r result|s by ema|
|000046c0| 69 6c 69 6e 67 20 74 68 | 69 73 20 66 69 6c 65 20 |iling th|is file |
|000046d0| 74 6f 20 22 0d 09 09 22 | 64 65 6e 69 73 40 78 70 |to "..."|denis@xp|
|000046e0| 2e 70 73 79 63 68 2e 6e | 79 75 2e 65 64 75 5c 6e |.psych.n|yu.edu\n|
|000046f0| 22 0d 09 09 22 5c 6e 48 | 61 70 70 69 6c 79 2c 20 |"..."\nH|appily, |
|00004700| 77 65 20 64 6f 6e 27 74 | 20 6b 6e 6f 77 20 6f 66 |we don't| know of|
|00004710| 20 61 6e 79 20 63 61 73 | 65 73 20 6f 66 20 65 72 | any cas|es of er|
|00004720| 72 6f 72 73 20 69 6e 20 | 63 73 63 53 65 74 45 6e |rors in |cscSetEn|
|00004730| 74 72 69 65 73 20 69 74 | 73 65 6c 66 2c 20 22 0d |tries it|self, ".|
|00004740| 09 09 22 61 6e 64 20 77 | 65 27 76 65 20 6e 65 76 |.."and w|e've nev|
|00004750| 65 72 20 72 75 6e 20 61 | 63 72 6f 73 73 20 61 20 |er run a|cross a |
|00004760| 68 61 72 64 77 61 72 65 | 20 66 61 69 6c 75 72 65 |hardware| failure|
|00004770| 20 6f 66 20 74 68 65 20 | 43 4c 55 54 20 6d 65 6d | of the |CLUT mem|
|00004780| 6f 72 79 2e 20 22 0d 09 | 09 22 4f 75 72 20 65 78 |ory. "..|."Our ex|
|00004790| 70 65 72 69 65 6e 63 65 | 20 69 73 20 74 68 61 74 |perience| is that|
|000047a0| 20 65 72 72 6f 72 73 20 | 69 6e 20 74 68 65 20 63 | errors |in the c|
|000047b0| 73 63 53 65 74 45 6e 74 | 72 69 65 73 2f 63 73 63 |scSetEnt|ries/csc|
|000047c0| 47 65 74 45 6e 74 72 69 | 65 73 20 77 72 69 74 65 |GetEntri|es write|
|000047d0| 2d 74 68 65 6e 2d 72 65 | 61 64 20 22 0d 09 09 22 |-then-re|ad "..."|
|000047e0| 74 65 73 74 20 6f 66 20 | 74 68 65 20 43 4c 55 54 |test of |the CLUT|
|000047f0| 20 6f 63 63 75 72 20 69 | 6e 20 74 77 6f 20 77 61 | occur i|n two wa|
|00004800| 79 73 3a 20 22 0d 09 09 | 22 5c 6e 31 2e 20 54 68 |ys: "...|"\n1. Th|
|00004810| 65 20 64 72 69 76 65 72 | 20 64 6f 65 73 20 6e 6f |e driver| does no|
|00004820| 74 20 69 6d 70 6c 65 6d | 65 6e 74 20 63 73 63 53 |t implem|ent cscS|
|00004830| 65 74 47 61 6d 6d 61 20 | 61 6e 64 20 74 68 65 20 |etGamma |and the |
|00004840| 66 69 78 65 64 20 67 61 | 6d 6d 61 20 74 61 62 6c |fixed ga|mma tabl|
|00004850| 65 20 69 73 20 22 0d 09 | 09 22 6e 6f 74 20 74 68 |e is "..|."not th|
|00004860| 65 20 69 64 65 6e 74 69 | 74 79 20 74 72 61 6e 73 |e identi|ty trans|
|00004870| 66 6f 72 6d 61 74 69 6f | 6e 2c 20 69 2e 65 2e 20 |formatio|n, i.e. |
|00004880| 5c 22 75 6e 63 6f 72 72 | 65 63 74 65 64 20 67 61 |\"uncorr|ected ga|
|00004890| 6d 6d 61 20 74 61 62 6c | 65 5c 22 2e 20 22 0d 09 |mma tabl|e\". "..|
|000048a0| 09 22 54 69 6d 65 56 69 | 64 65 6f 20 61 6c 77 61 |."TimeVi|deo alwa|
|000048b0| 79 73 20 63 61 6c 6c 73 | 20 63 73 63 53 65 74 47 |ys calls| cscSetG|
|000048c0| 61 6d 6d 61 2c 20 72 65 | 71 75 65 73 74 69 6e 67 |amma, re|questing|
|000048d0| 20 61 6e 20 69 64 65 6e | 74 69 74 79 20 74 72 61 | an iden|tity tra|
|000048e0| 6e 73 66 6f 72 6d 2e 20 | 22 0d 09 09 22 49 6e 20 |nsform. |"..."In |
|000048f0| 61 6c 6c 20 64 72 69 76 | 65 72 73 2c 20 74 68 65 |all driv|ers, the|
|00004900| 20 52 47 42 20 76 61 6c | 75 65 73 20 73 75 70 70 | RGB val|ues supp|
|00004910| 6c 69 65 64 20 69 6e 20 | 61 20 63 73 63 53 65 74 |lied in |a cscSet|
|00004920| 45 6e 74 72 69 65 73 20 | 63 61 6c 6c 20 22 0d 09 |Entries |call "..|
|00004930| 09 22 61 72 65 20 74 72 | 61 6e 73 66 6f 72 6d 65 |."are tr|ansforme|
|00004940| 64 20 62 79 20 74 68 65 | 20 67 61 6d 6d 61 20 74 |d by the| gamma t|
|00004950| 61 62 6c 65 20 62 65 66 | 6f 72 65 20 62 65 69 6e |able bef|ore bein|
|00004960| 67 20 6c 6f 61 64 65 64 | 20 69 6e 74 6f 20 74 68 |g loaded| into th|
|00004970| 65 20 43 4c 55 54 2e 20 | 22 0d 09 09 22 54 68 65 |e CLUT. |"..."The|
|00004980| 20 70 72 65 73 65 6e 63 | 65 20 6f 66 20 61 20 6e | presenc|e of a n|
|00004990| 6f 6e 2d 69 64 65 6e 74 | 69 74 79 20 22 0d 09 09 |on-ident|ity "...|
|000049a0| 22 67 61 6d 6d 61 20 74 | 61 62 6c 65 20 69 73 20 |"gamma t|able is |
|000049b0| 75 73 75 61 6c 6c 79 20 | 6f 62 76 69 6f 75 73 20 |usually |obvious |
|000049c0| 66 72 6f 6d 20 61 20 67 | 6c 61 6e 63 65 20 61 74 |from a g|lance at|
|000049d0| 20 74 68 65 20 63 6f 6c | 6f 72 20 6d 61 74 72 69 | the col|or matri|
|000049e0| 78 2c 20 73 69 6e 63 65 | 20 74 68 65 20 67 61 69 |x, since| the gai|
|000049f0| 6e 73 20 22 0d 09 09 22 | 69 6e 20 74 68 65 20 6d |ns "..."|in the m|
|00004a00| 61 74 72 69 78 20 77 69 | 6c 6c 20 65 78 63 65 65 |atrix wi|ll excee|
|00004a10| 64 20 31 20 62 79 20 61 | 62 6f 75 74 20 74 77 69 |d 1 by a|bout twi|
|00004a20| 63 65 20 74 68 65 20 66 | 72 61 63 74 69 6f 6e 61 |ce the f|ractiona|
|00004a30| 6c 20 72 6d 73 20 65 72 | 72 6f 72 20 69 6e 64 69 |l rms er|ror indi|
|00004a40| 63 61 74 65 64 20 62 79 | 20 b1 25 25 2e 20 22 0d |cated by| .%%. ".|
|00004a50| 09 09 22 5c 6e 32 2e 20 | 54 68 65 20 43 4c 55 54 |.."\n2. |The CLUT|
|00004a60| 20 69 73 20 73 65 74 20 | 63 6f 72 72 65 63 74 6c | is set |correctl|
|00004a70| 79 2c 20 62 75 74 20 74 | 68 65 20 64 72 69 76 65 |y, but t|he drive|
|00004a80| 72 20 69 6e 63 6f 72 72 | 65 63 74 6c 79 20 69 6d |r incorr|ectly im|
|00004a90| 70 6c 65 6d 65 6e 74 73 | 20 63 73 63 47 65 74 45 |plements| cscGetE|
|00004aa0| 6e 74 72 69 65 73 2e 20 | 22 0d 09 09 22 42 75 67 |ntries. |"..."Bug|
|00004ab0| 73 20 69 6e 20 63 73 63 | 47 65 74 45 6e 74 72 69 |s in csc|GetEntri|
|00004ac0| 65 73 20 61 72 65 20 75 | 73 75 61 6c 6c 79 20 6f |es are u|sually o|
|00004ad0| 62 76 69 6f 75 73 20 66 | 72 6f 6d 20 61 20 67 6c |bvious f|rom a gl|
|00004ae0| 61 6e 63 65 20 61 74 20 | 74 68 65 20 63 6f 6c 6f |ance at |the colo|
|00004af0| 72 20 6d 61 74 72 69 78 | 2c 20 22 0d 09 09 22 65 |r matrix|, "..."e|
|00004b00| 2e 67 2e 20 6e 6f 6e 7a | 65 72 6f 20 67 61 69 6e |.g. nonz|ero gain|
|00004b10| 73 20 6f 66 66 20 74 68 | 65 20 64 69 61 67 6f 6e |s off th|e diagon|
|00004b20| 61 6c 2c 20 6f 72 20 74 | 68 65 20 70 61 74 74 65 |al, or t|he patte|
|00004b30| 72 6e 20 6f 66 20 65 72 | 72 6f 72 73 2e 5c 6e 22 |rn of er|rors.\n"|
|00004b40| 0d 09 09 22 5c 6e 45 72 | 72 6f 72 73 20 72 65 70 |..."\nEr|rors rep|
|00004b50| 6f 72 74 65 64 20 62 79 | 20 54 69 6d 65 56 69 64 |orted by| TimeVid|
|00004b60| 65 6f 20 61 72 65 20 75 | 73 75 61 6c 6c 79 20 64 |eo are u|sually d|
|00004b70| 75 65 20 74 6f 20 62 75 | 67 73 20 69 6e 20 74 68 |ue to bu|gs in th|
|00004b80| 65 20 76 69 64 65 6f 20 | 64 72 69 76 65 72 20 73 |e video |driver s|
|00004b90| 6f 66 74 77 61 72 65 20 | 22 0d 09 09 22 69 6e 20 |oftware |"..."in |
|00004ba0| 74 68 65 20 52 4f 4d 20 | 6f 66 20 74 68 65 20 76 |the ROM |of the v|
|00004bb0| 69 64 65 6f 20 63 61 72 | 64 20 28 6f 72 20 62 75 |ideo car|d (or bu|
|00004bc0| 69 6c 74 2d 69 6e 20 76 | 69 64 65 6f 20 64 65 76 |ilt-in v|ideo dev|
|00004bd0| 69 63 65 29 2e 20 49 66 | 20 74 68 65 20 62 75 67 |ice). If| the bug|
|00004be0| 20 77 69 6c 6c 20 22 0d | 09 09 22 69 6e 74 65 72 | will ".|.."inter|
|00004bf0| 66 65 72 65 20 77 69 74 | 68 20 79 6f 75 72 20 65 |fere wit|h your e|
|00004c00| 78 70 65 72 69 6d 65 6e | 74 73 2c 20 22 0d 09 09 |xperimen|ts, "...|
|00004c10| 22 74 68 65 6e 20 74 6f | 20 75 73 65 20 74 68 65 |"then to| use the|
|00004c20| 20 63 61 72 64 20 28 6f | 72 20 62 75 69 6c 74 2d | card (o|r built-|
|00004c30| 69 6e 20 76 69 64 65 6f | 29 20 79 6f 75 20 6d 75 |in video|) you mu|
|00004c40| 73 74 20 65 69 74 68 65 | 72 20 66 69 78 2f 72 65 |st eithe|r fix/re|
|00004c50| 70 6c 61 63 65 20 74 68 | 65 20 64 72 69 76 65 72 |place th|e driver|
|00004c60| 20 6f 72 20 22 0d 09 09 | 22 62 79 70 61 73 73 20 | or "...|"bypass |
|00004c70| 74 68 65 20 64 72 69 76 | 65 72 2c 20 75 73 69 6e |the driv|er, usin|
|00004c80| 67 20 53 65 74 45 6e 74 | 72 69 65 73 51 75 69 63 |g SetEnt|riesQuic|
|00004c90| 6b 6c 79 20 74 6f 20 61 | 63 63 65 73 73 20 74 68 |kly to a|ccess th|
|00004ca0| 65 20 68 61 72 64 77 61 | 72 65 20 64 69 72 65 63 |e hardwa|re direc|
|00004cb0| 74 6c 79 20 22 0d 09 09 | 22 28 69 66 20 53 65 74 |tly "...|"(if Set|
|00004cc0| 45 6e 74 72 69 65 73 51 | 75 69 63 6b 6c 79 20 73 |EntriesQ|uickly s|
|00004cd0| 75 70 70 6f 72 74 73 20 | 69 74 29 2e 20 22 0d 09 |upports |it). "..|
|00004ce0| 09 22 49 20 73 75 67 67 | 65 73 74 20 74 68 61 74 |."I sugg|est that|
|00004cf0| 20 79 6f 75 20 74 72 79 | 20 72 65 70 6c 61 63 69 | you try| replaci|
|00004d00| 6e 67 20 74 68 65 20 64 | 72 69 76 65 72 2c 20 62 |ng the d|river, b|
|00004d10| 65 63 61 75 73 65 20 74 | 68 69 73 20 77 69 6c 6c |ecause t|his will|
|00004d20| 20 6b 65 65 70 20 79 6f | 75 72 20 22 0d 09 09 22 | keep yo|ur "..."|
|00004d30| 73 6f 66 74 77 61 72 65 | 20 68 61 72 64 77 61 72 |software| hardwar|
|00004d40| 65 2d 69 6e 64 65 70 65 | 6e 64 65 6e 74 2e 20 54 |e-indepe|ndent. T|
|00004d50| 68 65 20 56 69 64 65 6f | 54 6f 6f 6c 62 6f 78 20 |he Video|Toolbox |
|00004d60| 5c 22 56 69 64 65 6f 20 | 73 79 6e 63 68 5c 22 20 |\"Video |synch\" |
|00004d70| 64 6f 63 75 6d 65 6e 74 | 20 65 78 70 6c 61 69 6e |document| explain|
|00004d80| 73 20 22 0d 09 09 22 68 | 6f 77 20 74 6f 20 66 69 |s "..."h|ow to fi|
|00004d90| 78 20 74 68 65 20 74 68 | 65 20 4d 61 63 20 49 49 |x the th|e Mac II|
|00004da0| 63 69 20 76 69 64 65 6f | 20 64 72 69 76 65 72 2c |ci video| driver,|
|00004db0| 20 70 61 74 63 68 69 6e | 67 20 6f 72 20 72 65 70 | patchin|g or rep|
|00004dc0| 6c 61 63 69 6e 67 20 74 | 68 65 20 62 75 67 67 79 |lacing t|he buggy|
|00004dd0| 20 76 65 72 73 69 6f 6e | 20 22 0d 09 09 22 30 20 | version| "..."0 |
|00004de0| 2e 44 69 73 70 6c 61 79 | 5f 56 69 64 65 6f 5f 41 |.Display|_Video_A|
|00004df0| 70 70 6c 65 5f 52 42 56 | 31 20 64 72 69 76 65 72 |pple_RBV|1 driver|
|00004e00| 20 62 79 20 63 6f 70 79 | 69 6e 67 20 74 68 65 20 | by copy|ing the |
|00004e10| 62 75 67 2d 66 72 65 65 | 20 76 65 72 73 69 6f 6e |bug-free| version|
|00004e20| 20 31 20 6f 66 20 74 68 | 65 20 73 61 6d 65 20 22 | 1 of th|e same "|
|00004e30| 0d 09 09 22 64 72 69 76 | 65 72 20 66 72 6f 6d 20 |..."driv|er from |
|00004e40| 74 68 65 20 4d 61 63 20 | 49 49 73 69 2e 20 49 74 |the Mac |IIsi. It|
|00004e50| 20 69 73 20 76 65 72 79 | 20 6c 69 6b 65 6c 79 20 | is very| likely |
|00004e60| 74 68 61 74 20 61 6e 20 | 61 6e 61 6c 6f 67 6f 75 |that an |analogou|
|00004e70| 73 20 61 70 70 72 6f 61 | 63 68 20 22 0d 09 09 22 |s approa|ch "..."|
|00004e80| 63 6f 75 6c 64 20 62 65 | 20 75 73 65 64 20 74 6f |could be| used to|
|00004e90| 20 66 69 78 2f 72 65 70 | 6c 61 63 65 20 74 68 65 | fix/rep|lace the|
|00004ea0| 20 62 75 67 67 79 20 76 | 65 72 73 69 6f 6e 20 30 | buggy v|ersion 0|
|00004eb0| 2c 20 31 2c 20 61 6e 64 | 20 32 20 2e 44 69 73 70 |, 1, and| 2 .Disp|
|00004ec0| 6c 61 79 5f 56 69 64 65 | 6f 5f 41 70 70 6c 65 5f |lay_Vide|o_Apple_|
|00004ed0| 44 41 46 42 20 22 0d 09 | 09 22 64 72 69 76 65 72 |DAFB "..|."driver|
|00004ee0| 73 20 69 6e 20 74 68 65 | 20 51 75 61 64 72 61 20 |s in the| Quadra |
|00004ef0| 37 30 30 2c 20 37 35 30 | 2c 20 61 6e 64 20 39 30 |700, 750|, and 90|
|00004f00| 30 2c 20 62 79 20 74 68 | 65 20 62 75 67 2d 66 72 |0, by th|e bug-fr|
|00004f10| 65 65 20 76 65 72 73 69 | 6f 6e 20 33 20 6f 72 20 |ee versi|on 3 or |
|00004f20| 35 20 6f 66 20 74 68 61 | 74 20 64 72 69 76 65 72 |5 of tha|t driver|
|00004f30| 20 22 0d 09 09 22 69 6e | 20 74 68 65 20 43 65 6e | "..."in| the Cen|
|00004f40| 74 72 69 73 20 36 35 30 | 20 6f 72 20 74 68 65 20 |tris 650| or the |
|00004f50| 4c 43 20 34 37 35 2e 20 | 41 6e 64 20 70 6c 65 61 |LC 475. |And plea|
|00004f60| 73 65 20 72 65 70 6f 72 | 74 20 79 6f 75 72 20 62 |se repor|t your b|
|00004f70| 75 67 73 3b 20 74 68 65 | 20 62 75 67 2d 66 72 65 |ugs; the| bug-fre|
|00004f80| 65 20 72 65 76 69 73 65 | 64 20 64 72 69 76 65 72 |e revise|d driver|
|00004f90| 73 20 22 0d 09 09 22 61 | 72 65 20 70 72 6f 62 61 |s "..."a|re proba|
|00004fa0| 62 6c 79 20 74 68 65 20 | 72 65 73 75 6c 74 20 6f |bly the |result o|
|00004fb0| 66 20 6f 75 72 20 70 61 | 73 74 20 62 75 67 20 72 |f our pa|st bug r|
|00004fc0| 65 70 6f 72 74 73 2e 5c | 6e 22 0d 09 09 22 5c 6e |eports.\|n"..."\n|
|00004fd0| 47 4c 4f 53 53 41 52 59 | 5c 6e 22 0d 09 09 22 41 |GLOSSARY|\n"..."A|
|00004fe0| 20 76 69 64 65 6f 20 66 | 72 61 6d 65 20 69 73 20 | video f|rame is |
|00004ff0| 61 20 63 6f 6d 70 6c 65 | 74 65 20 72 65 66 72 65 |a comple|te refre|
|00005000| 73 68 20 6f 66 20 79 6f | 75 72 20 76 69 64 65 6f |sh of yo|ur video|
|00005010| 20 73 63 72 65 65 6e 2e | 20 28 57 69 74 68 20 69 | screen.| (With i|
|00005020| 6e 74 65 72 6c 61 63 69 | 6e 67 20 69 74 20 74 61 |nterlaci|ng it ta|
|00005030| 6b 65 73 20 22 0d 09 09 | 22 74 77 6f 20 66 69 65 |kes "...|"two fie|
|00005040| 6c 64 73 20 74 6f 20 64 | 6f 20 61 20 63 6f 6d 70 |lds to d|o a comp|
|00005050| 6c 65 74 65 20 72 65 66 | 72 65 73 68 2c 20 69 2e |lete ref|resh, i.|
|00005060| 65 2e 20 61 20 66 72 61 | 6d 65 2c 20 62 75 74 20 |e. a fra|me, but |
|00005070| 67 72 61 70 68 69 63 73 | 20 64 69 73 70 6c 61 79 |graphics| display|
|00005080| 73 20 75 73 75 61 6c 6c | 79 20 61 72 65 20 22 0d |s usuall|y are ".|
|00005090| 09 09 22 6e 6f 74 20 69 | 6e 74 65 72 6c 61 63 65 |.."not i|nterlace|
|000050a0| 64 20 61 6e 64 20 68 61 | 76 65 20 61 20 73 69 6e |d and ha|ve a sin|
|000050b0| 67 6c 65 20 66 69 65 6c | 64 20 70 65 72 20 66 72 |gle fiel|d per fr|
|000050c0| 61 6d 65 2e 29 20 54 6f | 20 73 68 6f 77 20 61 20 |ame.) To| show a |
|000050d0| 6d 6f 76 69 65 2c 20 79 | 6f 75 20 77 69 6c 6c 20 |movie, y|ou will |
|000050e0| 77 61 6e 74 20 22 0d 09 | 09 22 74 6f 20 72 65 6c |want "..|."to rel|
|000050f0| 6f 61 64 20 74 68 65 20 | 69 6d 61 67 65 20 6f 6e |oad the |image on|
|00005100| 63 65 20 70 65 72 20 66 | 72 61 6d 65 3b 20 74 68 |ce per f|rame; th|
|00005110| 65 20 74 61 62 6c 65 20 | 73 68 6f 77 73 20 68 6f |e table |shows ho|
|00005120| 77 20 62 69 67 20 74 68 | 61 74 20 69 6d 61 67 65 |w big th|at image|
|00005130| 20 63 61 6e 20 62 65 2c | 20 22 0d 09 09 22 61 73 | can be,| "..."as|
|00005140| 20 61 20 66 72 61 63 74 | 69 6f 6e 20 6f 66 20 74 | a fract|ion of t|
|00005150| 68 65 20 73 63 72 65 65 | 6e 20 61 72 65 61 2c 20 |he scree|n area, |
|00005160| 61 6e 64 20 73 74 69 6c | 6c 20 62 65 20 72 65 6c |and stil|l be rel|
|00005170| 6f 61 64 65 64 20 6f 6e | 63 65 20 70 65 72 20 66 |oaded on|ce per f|
|00005180| 72 61 6d 65 2e 20 22 0d | 09 09 22 28 53 6f 6d 65 |rame. ".|.."(Some|
|00005190| 20 76 69 64 65 6f 20 63 | 61 72 64 73 20 68 61 76 | video c|ards hav|
|000051a0| 65 20 6d 75 6c 74 69 70 | 6c 65 20 76 69 64 65 6f |e multip|le video|
|000051b0| 20 5c 22 70 61 67 65 73 | 5c 22 2d 2d 63 61 6c 6c | \"pages|\"--call|
|000051c0| 20 47 44 47 65 74 50 61 | 67 65 43 6e 74 28 29 2d | GDGetPa|geCnt()-|
|000051d0| 2d 74 68 61 74 20 22 0d | 09 09 22 63 61 6e 20 62 |-that ".|.."can b|
|000051e0| 65 20 73 77 69 74 63 68 | 65 64 20 62 79 20 63 61 |e switch|ed by ca|
|000051f0| 6c 6c 69 6e 67 20 47 44 | 53 65 74 50 61 67 65 44 |lling GD|SetPageD|
|00005200| 72 61 77 6e 28 29 20 61 | 6e 64 20 47 44 53 65 74 |rawn() a|nd GDSet|
|00005210| 50 61 67 65 53 68 6f 77 | 6e 28 29 2e 29 20 22 0d |PageShow|n().) ".|
|00005220| 09 09 22 41 20 5c 22 56 | 42 4c 5c 22 20 22 0d 09 |.."A \"V|BL\" "..|
|00005230| 09 22 69 6e 74 65 72 72 | 75 70 74 20 69 73 20 70 |."interr|upt is p|
|00005240| 72 6f 64 75 63 65 64 20 | 62 79 20 79 6f 75 72 20 |roduced |by your |
|00005250| 76 69 64 65 6f 20 63 61 | 72 64 2c 20 6e 6f 6d 69 |video ca|rd, nomi|
|00005260| 6e 61 6c 6c 79 20 6f 6e | 63 65 20 70 65 72 20 66 |nally on|ce per f|
|00005270| 72 61 6d 65 2c 20 62 75 | 74 20 22 0d 09 09 22 73 |rame, bu|t "..."s|
|00005280| 6f 6d 65 20 76 69 64 65 | 6f 20 63 61 72 64 73 20 |ome vide|o cards |
|00005290| 70 72 6f 64 75 63 65 20 | 6d 6f 72 65 2c 20 77 68 |produce |more, wh|
|000052a0| 69 63 68 20 69 73 20 70 | 6f 6f 72 2c 20 62 75 74 |ich is p|oor, but|
|000052b0| 20 6e 6f 74 20 73 65 72 | 69 6f 75 73 2e 20 28 54 | not ser|ious. (T|
|000052c0| 68 65 20 22 0d 09 09 22 | 56 42 4c 49 6e 73 74 61 |he "..."|VBLInsta|
|000052d0| 6c 6c 2e 63 20 70 72 6f | 67 72 61 6d 20 77 69 6c |ll.c pro|gram wil|
|000052e0| 6c 20 64 65 61 6c 20 77 | 69 74 68 20 69 74 2e 29 |l deal w|ith it.)|
|000052f0| 20 53 75 70 70 72 65 73 | 73 65 64 20 69 6e 74 65 | Suppres|sed inte|
|00005300| 72 72 75 70 74 73 20 64 | 75 72 69 6e 67 20 63 6c |rrupts d|uring cl|
|00005310| 75 74 20 22 0d 09 09 22 | 75 70 64 61 74 65 73 20 |ut "..."|updates |
|00005320| 61 72 65 20 62 61 64 2e | 20 49 74 20 6d 65 61 6e |are bad.| It mean|
|00005330| 73 20 74 68 61 74 20 74 | 68 65 20 64 72 69 76 65 |s that t|he drive|
|00005340| 72 20 64 69 73 61 62 6c | 65 73 20 74 68 65 20 56 |r disabl|es the V|
|00005350| 42 4c 20 69 6e 74 65 72 | 72 75 70 74 20 66 6f 72 |BL inter|rupt for|
|00005360| 20 74 6f 6f 20 22 0d 09 | 09 22 6c 6f 6e 67 20 77 | too "..|."long w|
|00005370| 68 69 6c 65 20 69 74 27 | 73 20 6c 6f 61 64 69 6e |hile it'|s loadin|
|00005380| 67 20 74 68 65 20 63 6c | 75 74 2e 20 54 68 69 73 |g the cl|ut. This|
|00005390| 20 77 69 6c 6c 20 74 68 | 72 6f 77 20 6f 66 66 20 | will th|row off |
|000053a0| 61 6e 79 20 69 6e 74 65 | 72 72 75 70 74 2d 62 61 |any inte|rrupt-ba|
|000053b0| 73 65 64 20 22 0d 09 09 | 22 61 74 74 65 6d 70 74 |sed "...|"attempt|
|000053c0| 20 74 6f 20 63 6f 75 6e | 74 20 66 72 61 6d 65 73 | to coun|t frames|
|000053d0| 2e 20 28 54 68 65 20 63 | 6c 75 74 20 69 73 20 74 |. (The c|lut is t|
|000053e0| 68 65 20 63 6f 6c 6f 72 | 20 6c 6f 6f 6b 75 70 20 |he color| lookup |
|000053f0| 74 61 62 6c 65 20 6f 66 | 20 79 6f 75 72 20 76 69 |table of| your vi|
|00005400| 64 65 6f 20 63 61 72 64 | 2e 29 20 22 0d 09 09 22 |deo card|.) "..."|
|00005410| 4c 6f 6f 6b 75 70 20 74 | 61 62 6c 65 20 61 6e 69 |Lookup t|able ani|
|00005420| 6d 61 74 69 6f 6e 2c 20 | 65 2e 67 2e 20 66 6f 72 |mation, |e.g. for|
|00005430| 20 74 65 6d 70 6f 72 61 | 6c 20 6d 6f 64 75 6c 61 | tempora|l modula|
|00005440| 74 69 6f 6e 20 6f 66 20 | 63 6f 6e 74 72 61 73 74 |tion of |contrast|
|00005450| 2c 20 72 65 71 75 69 72 | 65 73 20 74 68 61 74 20 |, requir|es that |
|00005460| 22 0d 09 09 22 79 6f 75 | 20 72 65 6c 6f 61 64 20 |"..."you| reload |
|00005470| 74 68 65 20 63 6c 75 74 | 20 6f 6e 63 65 20 70 65 |the clut| once pe|
|00005480| 72 20 66 72 61 6d 65 2c | 20 73 6f 20 69 74 27 73 |r frame,| so it's|
|00005490| 20 76 65 72 79 20 69 6d | 70 6f 72 74 61 6e 74 20 | very im|portant |
|000054a0| 74 68 61 74 20 74 68 69 | 73 20 62 65 20 66 61 73 |that thi|s be fas|
|000054b0| 74 20 22 0d 09 09 22 65 | 6e 6f 75 67 68 2e 20 22 |t "..."e|nough. "|
|000054c0| 0d 09 09 22 54 68 65 20 | 66 69 72 73 74 20 63 61 |..."The |first ca|
|000054d0| 6c 6c 20 74 6f 20 53 65 | 74 45 6e 74 72 69 65 73 |ll to Se|tEntries|
|000054e0| 51 75 69 63 6b 6c 79 28 | 29 20 66 6f 72 20 65 61 |Quickly(|) for ea|
|000054f0| 63 68 20 64 65 76 69 63 | 65 20 69 73 20 73 6c 6f |ch devic|e is slo|
|00005500| 77 2d 2d 61 20 63 61 63 | 68 65 20 69 73 20 22 0d |w--a cac|he is ".|
|00005510| 09 09 22 66 69 6c 6c 65 | 64 3b 20 74 68 65 20 72 |.."fille|d; the r|
|00005520| 65 70 6f 72 74 65 64 20 | 74 69 6d 65 73 20 61 72 |eported |times ar|
|00005530| 65 20 66 6f 72 20 73 75 | 62 73 65 71 75 65 6e 74 |e for su|bsequent|
|00005540| 20 63 61 6c 6c 73 2e 20 | 22 0d 09 09 22 45 61 63 | calls. |"..."Eac|
|00005550| 68 20 76 69 64 65 6f 20 | 63 61 72 64 20 63 61 6e |h video |card can|
|00005560| 20 62 65 20 69 6e 20 5c | 22 43 6f 6c 6f 72 5c 22 | be in \|"Color\"|
|00005570| 20 6f 72 20 5c 22 47 72 | 61 79 5c 22 20 6d 6f 64 | or \"Gr|ay\" mod|
|00005580| 65 2c 20 61 73 20 73 65 | 74 20 62 79 20 74 68 65 |e, as se|t by the|
|00005590| 20 43 6f 6e 74 72 6f 6c | 20 22 0d 09 09 22 50 61 | Control| "..."Pa|
|000055a0| 6e 65 6c 3a 4d 6f 6e 69 | 74 6f 72 73 20 6f 72 20 |nel:Moni|tors or |
|000055b0| 74 68 65 20 4d 61 63 69 | 6e 74 6f 73 68 20 54 6f |the Maci|ntosh To|
|000055c0| 6f 6c 62 6f 78 20 63 61 | 6c 6c 20 53 65 74 44 65 |olbox ca|ll SetDe|
|000055d0| 70 74 68 28 29 2e 20 22 | 0d 09 09 22 49 6e 20 5c |pth(). "|..."In \|
|000055e0| 22 47 72 61 79 5c 22 20 | 6d 6f 64 65 20 61 6c 6c |"Gray\" |mode all|
|000055f0| 20 63 6f 6c 6f 72 73 20 | 61 72 65 20 74 72 61 6e | colors |are tran|
|00005600| 73 66 6f 72 6d 65 64 20 | 74 6f 20 6c 75 6d 69 6e |sformed |to lumin|
|00005610| 61 6e 63 65 2d 65 71 75 | 69 76 61 6c 65 6e 74 20 |ance-equ|ivalent |
|00005620| 22 0d 09 09 22 67 72 61 | 79 73 2e 20 54 68 69 73 |"..."gra|ys. This|
|00005630| 20 69 73 20 64 6f 6e 65 | 20 62 79 20 74 68 65 20 | is done| by the |
|00005640| 76 69 64 65 6f 20 64 72 | 69 76 65 72 2c 20 77 68 |video dr|iver, wh|
|00005650| 65 6e 20 6c 6f 61 64 69 | 6e 67 20 74 68 65 20 63 |en loadi|ng the c|
|00005660| 6c 75 74 2c 20 22 0d 09 | 09 22 62 75 74 20 6f 6e |lut, "..|."but on|
|00005670| 6c 79 20 69 66 20 74 68 | 65 20 70 69 78 65 6c 53 |ly if th|e pixelS|
|00005680| 69 7a 65 b2 38 2e 20 22 | 0d 09 09 22 54 69 6d 65 |ize.8. "|..."Time|
|00005690| 56 69 64 65 6f 20 64 6f | 65 73 20 61 20 6c 69 6e |Video do|es a lin|
|000056a0| 65 61 72 20 72 65 67 72 | 65 73 73 69 6f 6e 20 6f |ear regr|ession o|
|000056b0| 6e 20 74 68 65 20 72 65 | 73 75 6c 74 73 20 6f 66 |n the re|sults of|
|000056c0| 20 77 72 69 74 65 2d 74 | 68 65 6e 2d 72 65 61 64 | write-t|hen-read|
|000056d0| 20 74 65 73 74 73 20 6f | 66 20 74 68 65 20 43 4c | tests o|f the CL|
|000056e0| 55 54 20 22 0d 09 09 22 | 74 6f 20 6d 65 61 73 75 |UT "..."|to measu|
|000056f0| 72 65 20 74 68 65 20 64 | 72 69 76 65 72 27 73 20 |re the d|river's |
|00005700| 63 6f 6c 6f 72 20 74 72 | 61 6e 73 66 6f 72 6d 61 |color tr|ansforma|
|00005710| 74 69 6f 6e 20 6d 61 74 | 72 69 78 2e 20 49 74 20 |tion mat|rix. It |
|00005720| 72 65 70 6f 72 74 73 20 | 74 68 65 20 6d 61 74 72 |reports |the matr|
|00005730| 69 78 20 22 0d 09 09 22 | 69 66 20 69 74 20 69 73 |ix "..."|if it is|
|00005740| 20 6f 74 68 65 72 20 74 | 68 61 6e 20 74 68 65 20 | other t|han the |
|00005750| 69 64 65 6e 74 69 74 79 | 20 74 72 61 6e 73 66 6f |identity| transfo|
|00005760| 72 6d 61 74 69 6f 6e 3a | 5c 6e 22 0d 09 09 22 28 |rmation:|\n"..."(|
|00005770| 52 4f 75 74 29 20 28 31 | 20 30 20 30 29 20 28 52 |ROut) (1| 0 0) (R|
|00005780| 49 6e 29 5c 6e 22 0d 09 | 09 22 28 47 4f 75 74 29 |In)\n"..|."(GOut)|
|00005790| 3d 28 30 20 31 20 30 29 | 78 28 47 49 6e 29 5c 6e |=(0 1 0)|x(GIn)\n|
|000057a0| 22 0d 09 09 22 28 42 4f | 75 74 29 20 28 30 20 30 |"..."(BO|ut) (0 0|
|000057b0| 20 31 29 20 28 42 49 6e | 29 5c 6e 22 0d 09 09 22 | 1) (BIn|)\n"..."|
|000057c0| 54 68 65 20 63 6c 75 74 | 20 74 65 73 74 73 20 74 |The clut| tests t|
|000057d0| 72 79 20 6c 6f 61 64 69 | 6e 67 20 74 68 65 20 63 |ry loadi|ng the c|
|000057e0| 6c 75 74 20 73 65 72 69 | 61 6c 6c 79 2c 20 6f 6e |lut seri|ally, on|
|000057f0| 65 20 65 6e 74 72 79 20 | 61 74 20 61 20 74 69 6d |e entry |at a tim|
|00005800| 65 2c 20 61 6e 64 20 22 | 0d 09 09 22 61 6c 6c 20 |e, and "|..."all |
|00005810| 61 74 20 6f 6e 63 65 3b | 20 73 6f 6d 65 20 76 69 |at once;| some vi|
|00005820| 64 65 6f 20 64 72 69 76 | 65 72 73 20 66 61 69 6c |deo driv|ers fail|
|00005830| 20 74 68 65 20 73 65 72 | 69 61 6c 20 74 65 73 74 | the ser|ial test|
|00005840| 2e 20 46 6f 72 20 6d 6f | 72 65 20 65 78 70 6c 61 |. For mo|re expla|
|00005850| 6e 61 74 69 6f 6e 20 73 | 65 65 20 22 0d 09 09 22 |nation s|ee "..."|
|00005860| 74 68 65 20 74 65 78 74 | 20 66 69 6c 65 20 63 61 |the text| file ca|
|00005870| 6c 6c 65 64 20 5c 22 56 | 69 64 65 6f 20 73 79 6e |lled \"V|ideo syn|
|00005880| 63 68 5c 22 20 6f 6e 20 | 74 68 65 20 56 69 64 65 |ch\" on |the Vide|
|00005890| 6f 54 6f 6f 6c 62 6f 78 | 20 64 69 73 6b 2e 5c 6e |oToolbox| disk.\n|
|000058a0| 22 0d 09 09 22 5c 6e 22 | 0d 09 09 22 5c 22 63 73 |"..."\n"|..."\"cs|
|000058b0| 63 53 65 74 45 6e 74 72 | 69 65 73 20 2e 2e 2e 20 |cSetEntr|ies ... |
|000058c0| 4e 41 4e 20 2e 2e 2e 20 | 66 72 61 6d 65 73 5c 22 |NAN ... |frames\"|
|000058d0| 3d 20 74 68 65 20 64 72 | 69 76 65 72 20 72 65 66 |= the dr|iver ref|
|000058e0| 75 73 65 73 20 74 6f 20 | 6c 6f 61 64 20 74 68 65 |uses to |load the|
|000058f0| 20 43 4c 55 54 2e 5c 6e | 22 20 0d 09 09 22 5c 22 | CLUT.\n|" ..."\"|
|00005900| 6f 6b 5c 22 3d 20 70 61 | 73 73 65 64 20 61 6c 6c |ok\"= pa|ssed all|
|00005910| 20 74 65 73 74 73 2e 5c | 6e 22 0d 09 09 22 5c 22 | tests.\|n"..."\"|
|00005920| 21 67 72 61 79 5c 22 3d | 20 70 61 73 73 65 64 20 |!gray\"=| passed |
|00005930| 74 68 65 20 63 6f 6c 6f | 72 20 74 65 73 74 2c 20 |the colo|r test, |
|00005940| 62 75 74 20 69 73 20 73 | 75 70 70 6f 73 65 64 20 |but is s|upposed |
|00005950| 74 6f 20 62 65 20 69 6e | 20 67 72 61 79 20 6d 6f |to be in| gray mo|
|00005960| 64 65 2e 5c 6e 22 0d 09 | 09 22 5c 22 21 63 6f 6c |de.\n"..|."\"!col|
|00005970| 6f 72 5c 22 3d 20 70 61 | 73 73 65 64 20 74 68 65 |or\"= pa|ssed the|
|00005980| 20 67 72 61 79 20 74 65 | 73 74 2c 20 62 75 74 20 | gray te|st, but |
|00005990| 69 73 20 73 75 70 70 6f | 73 65 64 20 74 6f 20 62 |is suppo|sed to b|
|000059a0| 65 20 69 6e 20 63 6f 6c | 6f 72 20 6d 6f 64 65 2e |e in col|or mode.|
|000059b0| 5c 6e 22 0d 09 09 22 5c | 22 21 73 65 72 69 61 6c |\n"..."\|"!serial|
|000059c0| 5c 22 3d 20 70 61 73 73 | 65 64 20 77 68 65 6e 20 |\"= pass|ed when |
|000059d0| 6c 6f 61 64 65 64 20 61 | 6c 6c 20 61 74 20 6f 6e |loaded a|ll at on|
|000059e0| 63 65 2c 20 62 75 74 20 | 66 61 69 6c 65 64 20 77 |ce, but |failed w|
|000059f0| 68 65 6e 20 6c 6f 61 64 | 65 64 20 73 65 72 69 61 |hen load|ed seria|
|00005a00| 6c 6c 79 2e 5c 6e 22 0d | 09 09 22 5c 22 62 61 64 |lly.\n".|.."\"bad|
|00005a10| 5c 22 3d 20 72 65 61 64 | 20 64 69 64 20 6e 6f 74 |\"= read| did not|
|00005a20| 20 65 71 75 61 6c 20 77 | 72 69 74 65 20 61 6e 64 | equal w|rite and|
|00005a30| 20 74 68 65 20 65 72 72 | 6f 72 20 69 73 20 72 65 | the err|or is re|
|00005a40| 70 6f 72 74 65 64 20 65 | 78 70 6c 69 63 69 74 6c |ported e|xplicitl|
|00005a50| 79 2e 5c 6e 22 0d 09 09 | 22 57 65 20 6b 6e 6f 77 |y.\n"...|"We know|
|00005a60| 20 74 68 61 74 20 53 65 | 74 45 6e 74 72 69 65 73 | that Se|tEntries|
|00005a70| 51 75 69 63 6b 6c 79 20 | 69 73 20 5c 22 21 73 65 |Quickly |is \"!se|
|00005a80| 72 69 61 6c 5c 22 20 6f | 6e 20 74 68 65 20 51 75 |rial\" o|n the Qu|
|00005a90| 61 64 72 61 2c 20 61 6c | 61 73 2e 5c 6e 22 0d 09 |adra, al|as.\n"..|
|00005aa0| 09 22 5c 6e 54 68 69 73 | 20 69 73 20 61 20 53 69 |."\nThis| is a Si|
|00005ab0| 6d 70 6c 65 54 65 78 74 | 20 64 6f 63 75 6d 65 6e |mpleText| documen|
|00005ac0| 74 20 75 73 69 6e 67 20 | 74 68 65 20 4d 6f 6e 61 |t using |the Mona|
|00005ad0| 63 6f 20 66 6f 6e 74 20 | 74 6f 20 6c 69 6e 65 20 |co font |to line |
|00005ae0| 75 70 20 74 68 65 20 5c | 6e 22 0d 09 09 22 63 6f |up the \|n"..."co|
|00005af0| 6c 75 6d 6e 73 20 70 72 | 6f 70 65 72 6c 79 2e 5c |lumns pr|operly.\|
|00005b00| 6e 5c 6e 22 2c 37 38 29 | 29 3b 0d 09 7d 0d 09 66 |n\n",78)|);..}..f|
|00005b10| 66 70 72 69 6e 74 66 28 | 6f 2c 22 54 69 6d 65 56 |fprintf(|o,"TimeV|
|00005b20| 69 64 65 6f 20 76 65 72 | 73 69 6f 6e 20 22 20 56 |ideo ver|sion " V|
|00005b30| 45 52 53 49 4f 4e 20 22 | 5c 6e 22 29 3b 0d 09 47 |ERSION "|\n");..G|
|00005b40| 65 74 44 61 74 65 54 69 | 6d 65 28 26 74 69 6d 65 |etDateTi|me(&time|
|00005b50| 29 3b 0d 09 49 55 44 61 | 74 65 53 74 72 69 6e 67 |);..IUDa|teString|
|00005b60| 28 74 69 6d 65 2c 6c 6f | 6e 67 44 61 74 65 2c 74 |(time,lo|ngDate,t|
|00005b70| 6f 64 61 79 53 74 72 29 | 3b 0d 09 66 66 70 72 69 |odayStr)|;..ffpri|
|00005b80| 6e 74 66 28 6f 2c 22 25 | 73 2e 5c 6e 22 2c 70 32 |ntf(o,"%|s.\n",p2|
|00005b90| 63 73 74 72 28 74 6f 64 | 61 79 53 74 72 29 29 3b |cstr(tod|ayStr));|
|00005ba0| 0d 09 66 66 70 72 69 6e | 74 66 28 6f 2c 22 25 73 |..ffprin|tf(o,"%s|
|00005bb0| 5c 6e 22 2c 49 64 65 6e | 74 69 66 79 43 6f 6d 70 |\n",Iden|tifyComp|
|00005bc0| 69 6c 65 72 28 29 29 3b | 0d 0d 09 2f 2f 20 54 69 |iler());|...// Ti|
|00005bd0| 6d 65 72 2e 63 20 72 65 | 71 75 69 72 65 73 20 74 |mer.c re|quires t|
|00005be0| 68 65 20 52 65 76 69 73 | 65 64 20 54 69 6d 65 20 |he Revis|ed Time |
|00005bf0| 4d 61 6e 61 67 65 72 2c | 20 77 68 69 63 68 20 61 |Manager,| which a|
|00005c00| 70 70 65 61 72 65 64 20 | 69 6e 20 53 79 73 74 65 |ppeared |in Syste|
|00005c10| 6d 20 36 2e 30 2e 33 2e | 0d 09 2f 2f 20 53 65 74 |m 6.0.3.|..// Set|
|00005c20| 44 65 70 74 68 28 29 20 | 69 73 20 70 61 72 74 20 |Depth() |is part |
|00005c30| 6f 66 20 74 68 65 20 22 | 6e 65 77 22 20 50 61 6c |of the "|new" Pal|
|00005c40| 65 74 74 65 20 4d 61 6e | 61 67 65 72 2c 20 77 68 |ette Man|ager, wh|
|00005c50| 69 63 68 20 61 70 70 65 | 61 72 65 64 20 69 6e 20 |ich appe|ared in |
|00005c60| 53 79 73 74 65 6d 20 36 | 2e 30 2e 35 2e 0d 09 47 |System 6|.0.5...G|
|00005c70| 65 73 74 61 6c 74 28 67 | 65 73 74 61 6c 74 53 79 |estalt(g|estaltSy|
|00005c80| 73 74 65 6d 56 65 72 73 | 69 6f 6e 2c 26 73 79 73 |stemVers|ion,&sys|
|00005c90| 74 65 6d 29 3b 0d 09 69 | 66 28 73 79 73 74 65 6d |tem);..i|f(system|
|00005ca0| 3c 30 78 36 30 35 29 50 | 72 69 6e 74 66 45 78 69 |<0x605)P|rintfExi|
|00005cb0| 74 28 22 53 6f 72 72 79 | 2e 20 59 6f 75 72 20 53 |t("Sorry|. Your S|
|00005cc0| 79 73 74 65 6d 20 69 73 | 20 74 6f 6f 20 6f 6c 64 |ystem is| too old|
|00005cd0| 3b 20 49 20 6e 65 65 64 | 20 61 74 20 6c 65 61 73 |; I need| at leas|
|00005ce0| 74 20 53 79 73 74 65 6d | 20 36 2e 30 2e 35 2e 5c |t System| 6.0.5.\|
|00005cf0| 6e 22 29 3b 0d 09 63 61 | 72 64 3d 28 56 69 64 65 |n");..ca|rd=(Vide|
|00005d00| 6f 49 6e 66 6f 20 2a 29 | 4e 65 77 50 74 72 43 6c |oInfo *)|NewPtrCl|
|00005d10| 65 61 72 28 4d 41 58 5f | 53 43 52 45 45 4e 53 2a |ear(MAX_|SCREENS*|
|00005d20| 73 69 7a 65 6f 66 28 2a | 63 61 72 64 29 29 3b 0d |sizeof(*|card));.|
|00005d30| 09 69 66 28 63 61 72 64 | 3d 3d 4e 55 4c 4c 29 50 |.if(card|==NULL)P|
|00005d40| 72 69 6e 74 66 45 78 69 | 74 28 22 4e 65 65 64 20 |rintfExi|t("Need |
|00005d50| 6d 6f 72 65 20 6d 65 6d | 6f 72 79 2e 20 22 0d 09 |more mem|ory. "..|
|00005d60| 09 22 55 73 65 20 46 69 | 6e 64 65 72 27 73 20 46 |."Use Fi|nder's F|
|00005d70| 69 6c 65 3a 47 65 74 20 | 49 6e 66 6f 20 74 6f 20 |ile:Get |Info to |
|00005d80| 69 6e 63 72 65 61 73 65 | 20 54 69 6d 65 56 69 64 |increase| TimeVid|
|00005d90| 65 6f 27 73 20 61 6c 6c | 6f 63 61 74 69 6f 6e 2e |eo's all|ocation.|
|00005da0| 5c 6e 22 29 3b 0d 09 66 | 66 70 72 69 6e 74 66 28 |\n");..f|fprintf(|
|00005db0| 6f 2c 22 25 73 5c 6e 22 | 2c 42 72 65 61 6b 4c 69 |o,"%s\n"|,BreakLi|
|00005dc0| 6e 65 73 28 49 64 65 6e | 74 69 66 79 4d 61 63 68 |nes(Iden|tifyMach|
|00005dd0| 69 6e 65 28 29 2c 37 38 | 29 29 3b 0d 09 66 66 70 |ine(),78|));..ffp|
|00005de0| 72 69 6e 74 66 28 6f 2c | 22 54 69 63 6b 20 72 61 |rintf(o,|"Tick ra|
|00005df0| 74 65 20 69 73 20 25 2e | 31 66 20 48 7a 2e 22 2c |te is %.|1f Hz.",|
|00005e00| 54 69 63 6b 52 61 74 65 | 28 29 29 3b 0d 09 66 66 |TickRate|());..ff|
|00005e10| 70 72 69 6e 74 66 28 6f | 2c 22 20 53 79 73 74 65 |printf(o|," Syste|
|00005e20| 6d 2d 62 61 73 65 64 20 | 56 42 4c 20 72 61 74 65 |m-based |VBL rate|
|00005e30| 20 69 73 20 25 2e 31 66 | 20 48 7a 2e 5c 6e 22 2c | is %.1f| Hz.\n",|
|00005e40| 47 44 46 72 61 6d 65 52 | 61 74 65 28 4e 55 4c 4c |GDFrameR|ate(NULL|
|00005e50| 29 29 3b 0d 09 69 66 28 | 51 44 38 45 78 69 73 74 |));..if(|QD8Exist|
|00005e60| 73 28 29 29 5f 61 74 65 | 78 69 74 28 52 65 73 74 |s())_ate|xit(Rest|
|00005e70| 6f 72 65 43 6c 75 74 73 | 29 3b 2f 2f 20 49 6e 20 |oreCluts|);// In |
|00005e80| 63 61 73 65 20 75 73 65 | 72 20 71 75 69 74 73 20 |case use|r quits |
|00005e90| 70 72 65 6d 61 74 75 72 | 65 6c 79 2e 0d 09 69 66 |prematur|ely...if|
|00005ea0| 28 54 72 61 70 41 76 61 | 69 6c 61 62 6c 65 28 5f |(TrapAva|ilable(_|
|00005eb0| 53 6c 6f 74 4d 61 6e 61 | 67 65 72 29 29 73 6c 6f |SlotMana|ger))slo|
|00005ec0| 74 4d 67 72 50 72 65 73 | 65 6e 74 3d 28 53 56 65 |tMgrPres|ent=(SVe|
|00005ed0| 72 73 69 6f 6e 28 26 73 | 70 42 6c 6f 63 6b 29 3d |rsion(&s|pBlock)=|
|00005ee0| 3d 6e 6f 45 72 72 29 3b | 0d 09 65 6c 73 65 20 73 |=noErr);|..else s|
|00005ef0| 6c 6f 74 4d 67 72 50 72 | 65 73 65 6e 74 3d 30 3b |lotMgrPr|esent=0;|
|00005f00| 0d 09 73 70 42 6c 6f 63 | 6b 2e 73 70 53 6c 6f 74 |..spBloc|k.spSlot|
|00005f10| 3d 30 3b 0d 09 73 70 42 | 6c 6f 63 6b 2e 73 70 49 |=0;..spB|lock.spI|
|00005f20| 44 3d 30 3b 0d 09 66 6f | 72 28 69 3d 30 3b 3b 69 |D=0;..fo|r(i=0;;i|
|00005f30| 2b 2b 29 7b 0d 09 09 69 | 66 28 51 44 38 45 78 69 |++){...i|f(QD8Exi|
|00005f40| 73 74 73 28 29 29 7b 0d | 09 09 09 69 66 28 74 65 |sts()){.|...if(te|
|00005f50| 73 74 4d 75 6c 74 69 70 | 6c 65 52 65 73 6f 6c 75 |stMultip|leResolu|
|00005f60| 74 69 6f 6e 73 29 7b 20 | 2f 2f 20 69 6e 64 65 78 |tions){ |// index|
|00005f70| 20 74 68 72 6f 75 67 68 | 20 74 68 65 20 64 69 73 | through| the dis|
|00005f80| 70 6c 61 79 20 6d 6f 64 | 65 73 2c 20 6f 6e 65 20 |play mod|es, one |
|00005f90| 62 79 20 6f 6e 65 0d 09 | 09 09 09 75 6e 73 69 67 |by one..|...unsig|
|00005fa0| 6e 65 64 20 6c 6f 6e 67 | 20 63 75 72 72 65 6e 74 |ned long| current|
|00005fb0| 44 69 73 70 6c 61 79 4d | 6f 64 65 49 44 2c 64 65 |DisplayM|odeID,de|
|00005fc0| 70 74 68 4d 6f 64 65 55 | 4c 2c 73 77 69 74 63 68 |pthModeU|L,switch|
|00005fd0| 46 6c 61 67 73 3b 0d 09 | 09 09 09 42 6f 6f 6c 65 |Flags;..|...Boole|
|00005fe0| 61 6e 20 6d 6f 64 65 4f | 6b 3b 0d 09 09 09 09 75 |an modeO|k;.....u|
|00005ff0| 6e 73 69 67 6e 65 64 20 | 6c 6f 6e 67 20 68 6f 72 |nsigned |long hor|
|00006000| 69 7a 6f 6e 74 61 6c 50 | 69 78 65 6c 73 2c 76 65 |izontalP|ixels,ve|
|00006010| 72 74 69 63 61 6c 4c 69 | 6e 65 73 3b 09 2f 2f 20 |rticalLi|nes;.// |
|00006020| 6e 6f 74 20 75 73 65 64 | 0d 09 09 09 09 46 69 78 |not used|.....Fix|
|00006030| 65 64 20 72 65 66 72 65 | 73 68 52 61 74 65 3b 09 |ed refre|shRate;.|
|00006040| 09 09 09 09 09 09 09 2f | 2f 20 6e 6f 74 20 75 73 |......./|/ not us|
|00006050| 65 64 0d 09 09 09 09 75 | 6e 73 69 67 6e 65 64 20 |ed.....u|nsigned |
|00006060| 73 68 6f 72 74 20 6d 61 | 78 44 65 70 74 68 4d 6f |short ma|xDepthMo|
|00006070| 64 65 3b 09 09 09 09 09 | 2f 2f 20 6e 6f 74 20 75 |de;.....|// not u|
|00006080| 73 65 64 0d 09 09 09 09 | 73 74 61 74 69 63 20 69 |sed.....|static i|
|00006090| 6e 74 20 64 65 76 69 63 | 65 43 6f 75 6e 74 65 72 |nt devic|eCounter|
|000060a0| 3d 30 3b 0d 09 09 09 09 | 73 74 61 74 69 63 20 75 |=0;.....|static u|
|000060b0| 6e 73 69 67 6e 65 64 20 | 6c 6f 6e 67 20 64 69 73 |nsigned |long dis|
|000060c0| 70 6c 61 79 4d 6f 64 65 | 49 44 3d 6b 44 69 73 70 |playMode|ID=kDisp|
|000060d0| 6c 61 79 4d 6f 64 65 49 | 44 46 69 6e 64 46 69 72 |layModeI|DFindFir|
|000060e0| 73 74 52 65 73 6f 6c 75 | 74 69 6f 6e 3b 0d 09 09 |stResolu|tion;...|
|000060f0| 09 0d 09 09 09 09 69 66 | 28 73 6c 6f 74 4d 67 72 |......if|(slotMgr|
|00006100| 50 72 65 73 65 6e 74 29 | 7b 09 09 09 09 09 0d 09 |Present)|{.......|
|00006110| 09 09 09 09 73 70 42 6c | 6f 63 6b 2e 73 70 45 78 |....spBl|ock.spEx|
|00006120| 74 44 65 76 3d 30 3b 0d | 09 09 09 09 09 73 70 42 |tDev=0;.|.....spB|
|00006130| 6c 6f 63 6b 2e 73 70 48 | 77 44 65 76 3d 30 3b 0d |lock.spH|wDev=0;.|
|00006140| 09 09 09 09 09 73 70 42 | 6c 6f 63 6b 2e 73 70 43 |.....spB|lock.spC|
|00006150| 61 74 65 67 6f 72 79 3d | 63 61 74 44 69 73 70 6c |ategory=|catDispl|
|00006160| 61 79 3b 0d 09 09 09 09 | 09 73 70 42 6c 6f 63 6b |ay;.....|.spBlock|
|00006170| 2e 73 70 43 54 79 70 65 | 3d 74 79 70 65 56 69 64 |.spCType|=typeVid|
|00006180| 65 6f 3b 0d 09 09 09 09 | 7d 0d 09 09 09 6e 65 78 |eo;.....|}....nex|
|00006190| 74 44 69 73 70 6c 61 79 | 4d 6f 64 65 49 44 3a 0d |tDisplay|ModeID:.|
|000061a0| 09 09 09 09 69 66 28 73 | 6c 6f 74 4d 67 72 50 72 |....if(s|lotMgrPr|
|000061b0| 65 73 65 6e 74 29 7b 0d | 09 09 09 09 09 2f 2f 20 |esent){.|.....// |
|000061c0| 75 73 65 20 73 6c 6f 74 | 20 6d 61 6e 61 67 65 72 |use slot| manager|
|000061d0| 20 74 6f 20 66 69 6e 64 | 20 65 76 65 72 79 20 64 | to find| every d|
|000061e0| 72 69 76 65 72 20 64 69 | 73 70 6c 61 79 4d 6f 64 |river di|splayMod|
|000061f0| 65 49 44 0d 09 09 09 09 | 09 73 70 42 6c 6f 63 6b |eID.....|.spBlock|
|00006200| 2e 73 70 54 42 4d 61 73 | 6b 3d 33 3b 09 09 2f 2f |.spTBMas|k=3;..//|
|00006210| 20 69 67 6e 6f 72 65 20 | 44 72 76 72 48 57 20 61 | ignore |DrvrHW a|
|00006220| 6e 64 20 44 72 76 72 53 | 57 0d 09 09 09 09 09 73 |nd DrvrS|W......s|
|00006230| 70 42 6c 6f 63 6b 2e 73 | 70 50 61 72 61 6d 44 61 |pBlock.s|pParamDa|
|00006240| 74 61 3d 31 3b 09 2f 2f | 20 6e 65 78 74 20 72 65 |ta=1;.//| next re|
|00006250| 73 6f 75 72 63 65 2c 20 | 61 6e 79 20 73 6c 6f 74 |source, |any slot|
|00006260| 2c 20 77 68 65 74 68 65 | 72 20 65 6e 61 62 6c 65 |, whethe|r enable|
|00006270| 64 20 6f 72 20 64 69 73 | 61 62 6c 65 64 0d 09 09 |d or dis|abled...|
|00006280| 09 09 09 65 72 72 6f 72 | 3d 53 47 65 74 54 79 70 |...error|=SGetTyp|
|00006290| 65 53 52 73 72 63 28 26 | 73 70 42 6c 6f 63 6b 29 |eSRsrc(&|spBlock)|
|000062a0| 3b 0d 09 09 09 09 09 69 | 66 28 65 72 72 6f 72 29 |;......i|f(error)|
|000062b0| 7b 0d 09 09 09 09 09 09 | 2f 2f 20 64 6f 6e 65 0d |{.......|// done.|
|000062c0| 09 09 09 09 09 09 53 61 | 76 65 41 6e 64 52 65 73 |......Sa|veAndRes|
|000062d0| 74 6f 72 65 44 65 76 69 | 63 65 28 4e 55 4c 4c 29 |toreDevi|ce(NULL)|
|000062e0| 3b 0d 09 09 09 09 09 09 | 62 72 65 61 6b 3b 0d 09 |;.......|break;..|
|000062f0| 09 09 09 09 7d 0d 09 09 | 09 09 09 64 69 73 70 6c |....}...|...displ|
|00006300| 61 79 4d 6f 64 65 49 44 | 3d 28 75 6e 73 69 67 6e |ayModeID|=(unsign|
|00006310| 65 64 20 63 68 61 72 29 | 73 70 42 6c 6f 63 6b 2e |ed char)|spBlock.|
|00006320| 73 70 49 44 3b 09 2f 2f | 20 22 72 65 73 6f 75 72 |spID;.//| "resour|
|00006330| 63 65 20 72 65 66 65 72 | 65 6e 63 65 20 6e 75 6d |ce refer|ence num|
|00006340| 62 65 72 22 0d 09 09 09 | 09 09 69 66 28 73 70 42 |ber"....|..if(spB|
|00006350| 6c 6f 63 6b 2e 73 70 52 | 65 66 4e 75 6d 3d 3d 30 |lock.spR|efNum==0|
|00006360| 29 7b 0d 09 09 09 09 09 | 09 73 70 42 6c 6f 63 6b |){......|.spBlock|
|00006370| 2e 73 70 54 42 4d 61 73 | 6b 3d 32 3b 09 09 2f 2f |.spTBMas|k=2;..//|
|00006380| 20 69 67 6e 6f 72 65 20 | 44 72 76 72 53 57 0d 09 | ignore |DrvrSW..|
|00006390| 09 09 09 09 09 73 70 42 | 6c 6f 63 6b 2e 73 70 50 |.....spB|lock.spP|
|000063a0| 61 72 61 6d 44 61 74 61 | 3d 32 3b 09 2f 2f 20 66 |aramData|=2;.// f|
|000063b0| 69 6e 64 20 65 6e 61 62 | 6c 65 64 20 72 65 73 6f |ind enab|led reso|
|000063c0| 75 72 63 65 20 69 6e 20 | 73 61 6d 65 20 73 6c 6f |urce in |same slo|
|000063d0| 74 20 77 69 74 68 20 73 | 61 6d 65 20 44 72 76 72 |t with s|ame Drvr|
|000063e0| 48 57 0d 09 09 09 09 09 | 09 73 70 42 6c 6f 63 6b |HW......|.spBlock|
|000063f0| 2e 73 70 49 44 3d 30 3b | 0d 09 09 09 09 09 09 65 |.spID=0;|.......e|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.